DOMPurify

DOMPurify

cure53

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:

17.4k Stars
860 Forks
150 Watchers
JavaScript Language
apache-2.0 License
100 SrcLog Score
Cost to Build
$1.24M
Market Value
$8.26M

Growth over time

21 data points  ·  2021-03-01 → 2026-09-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about DOMPurify

Question copied to clipboard

What is the cure53/DOMPurify GitHub project? 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:". Written in JavaScript. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone DOMPurify

Clone via HTTPS

git clone https://github.com/cure53/DOMPurify.git

Clone via SSH

[email protected]:cure53/DOMPurify.git

Download ZIP

Download main.zip

Found an issue?

Report bugs or request features on the DOMPurify issue tracker:

Open GitHub Issues