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.5k Stars
902 Forks
145 Watchers
JavaScript Language
apache-2.0 License
100 SrcLog Score
Cost to Build
$1.29M
Market Value
$9.37M

Growth over time

23 data points  ·  2021-03-01 → 2026-11-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.

🏆 Show off this rank

cure53/DOMPurify on SrcLog (holo style)

Add it to a GitHub README or profile — the card updates as the ranking changes:

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