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:
7 daysStars17.5k24h gain+4Score2.7
Find trending repositories by name or description.
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:
Takes third-party HTML and produces HTML that is safe to embed in your web application. Fast and easy to configure.
Python binding to Ammonia HTML sanitizer Rust crate