cure53/DOMPurify

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:

16,419
JavaScriptOther
cross-site-scriptingdomdompurifyhtmljavascriptmathmlprevent-xss-attackssanitizersecuritysvgxss
Stars

16,419

Updated

Nov 26, 2025

Stars Over Time

Top Contributors

Related Repositories

Track developers from cure53/DOMPurify

Join 1,000+ companies finding quality developer leads