DOMPurify
XSS sanitizer
A DOM-only XSS sanitizer for HTML, MathML, and SVG
DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:
14k stars
153 watching
741 forks
Language: JavaScript
last commit: 2 months ago
Linked from 6 awesome lists
cross-site-scriptingdomdompurifyhtmljavascriptmathmlprevent-xss-attackssanitizersecuritysvgxss
Related projects:
Repository | Description | Stars |
---|---|---|
| Sanitizes untrusted HTML to prevent cross-site scripting attacks by filtering input based on a whitelist of allowed tags and attributes. | 5,227 |
| A JavaScript library for cleaning up and sanitizing user-submitted HTML, removing unwanted content while preserving whitelisted elements and attributes. | 3,867 |
| A collection of CSS stylesheets providing consistent, cross-browser default styling and normalization for various HTML elements. | 5,232 |
| A fast and highly configurable HTML sanitizer that protects against cross-site scripting (XSS) attacks by scrubbing user-generated content against an allowlist of safe elements and attributes. | 3,241 |
| A CSS reset that preserves useful defaults and corrects common browser inconsistencies. | 52,625 |
| An HTML filtering solution that ensures documents from untrusted sources are standards compliant and safe from XSS attacks. | 3,106 |
| A fast and forgiving HTML parser with a focus on minimal allocations | 4,474 |
| A lightweight virtual DOM alternative built on top of HTML template literals | 3,071 |
| Generates websites from Markdown files with no build process required | 28,044 |
| A Markdown parser that produces well-formed HTML with intermediate representation and supports extensibility | 7,697 |
| An extension that sanitizes user-provided HTML input data to prevent XSS attacks | 7 |
| A library that provides HTML5 element definitions and sanitization rules for the popular HTML Purifier library | 101 |
| Automates the process of identifying vulnerabilities in web applications by scanning for cross-site scripting (XSS) flaws and analyzing parameters. | 3,820 |
| Creates a standardized CSS style sheet for modern web browsers | 6,379 |
| A collection of scripts and payloads designed to exploit Cross-Site Scripting (XSS) vulnerabilities in web applications. | 6,484 |