DOMPurify
A DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG.
What You'll Learn
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:
Technologies & Topics
cross-site-scripting
dom
dompurify
html
javascript
mathml
prevent-xss-attacks
sanitizer
security
svg
xss
Getting Started
1. Clone the Repository
git clone https://github.com/cure53/DOMPurify.git
2. Follow the README
Check the repository's README file for specific setup instructions, dependencies, and usage examples.
3. Explore and Learn
Study the code structure, run the examples, and experiment with modifications to deepen your understanding.
Repository Info
Quick Actions
More in JavaScript