DOMPurify

A DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG.

DOMPurify repository preview
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
Language
JavaScript
Stars
15,226
Published
2/17/2014
CategoryJavaScript
More in JavaScript