awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

2 个仓库

Awesome GitHub RepositoriesCSS Security Validators

Validators that check CSS property values against security patterns rather than just specification compliance.

Distinct from CSS Property Validations: Focuses on security-based cleaning of properties, whereas CSS Property Validations focuses on specification types.

Explore 2 awesome GitHub repositories matching user interface & experience · CSS Security Validators. Refine with filters or upvote what's useful.

Awesome CSS Security Validators GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • apostrophecms/sanitize-htmlapostrophecms 的头像

    apostrophecms/sanitize-html

    4,129在 GitHub 上查看↗

    这是一个 HTML 清理库,旨在从用户提交的 HTML 中删除危险标签和属性,以防止跨站脚本攻击 (XSS)。它充当内容过滤器,通过白名单机制保留特定元素和属性,同时转义或丢弃未经授权的标记。 该项目包含一个 HTML 转换引擎,允许使用自定义逻辑修改或替换标签和属性。它还具有 CSS 样式验证器,可根据允许的模式清理内联属性,以及用于限制主机名和方案的资源 URL 验证系统。 该库提供了用户输入清理、内联 CSS 验证和动态 HTML 转换功能。这些功能通过支持标签过滤和定义允许元素的解析器来实现。

    Cleans inline CSS properties against permitted patterns to ensure safe styling in user content.

    JavaScript
    在 GitHub 上查看↗4,129
  • microcosm-cc/bluemondaymicrocosm-cc 的头像

    microcosm-cc/bluemonday

    3,688在 GitHub 上查看↗

    bluemonday is a Go library for scrubbing user-generated HTML content to prevent cross-site scripting and other injection attacks. It functions as an HTML policy engine and sanitizer that removes dangerous scripts and malicious tags by applying configurable element and attribute allowlists. The project distinguishes itself through a rule-based system that utilizes regular expressions and name-based lists to define permitted tags, attributes, and CSS styles. It includes a URL security validator that enforces safe protocols and automatically injects security attributes such as nofollow and noope

    Provides specialized handlers to validate inline CSS style attributes against security patterns.

    Goallowlistgogolang
    在 GitHub 上查看↗3,688
  1. Home
  2. User Interface & Experience
  3. CSS Property Validations
  4. CSS Security Validators