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,540
- Forks
- 917
- Stars gained in 24 hours
- +1
- Forks gained in 24 hours
- +4
Topics: cross-site-scripting, dom, dompurify, html, javascript, mathml, prevent-xss-attacks, sanitizer, security, svg
Latest data point: Nov 21, 2026 · 17,540 stars · 917 forks