GitHub · JavaScript
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:
- Stars
- 17,548
- Forks
- 927
- Stars gained in 24 hours
- +7
- Forks gained in 24 hours
- +4
Topics: xss, sanitizer, dom, security, javascript, dompurify, prevent-xss-attacks, mathml, html, svg
Latest data point: Nov 25, 2026 · 17,548 stars · 927 forks