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:

16.8k Stars
831 Forks
16.8k Watchers
JavaScript Language
other License
100 SrcLog Score
Cost to Build
$998.9K
Market Value
$7.60M

Growth over time

18 data points  ·  2021-03-01 → 2026-04-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 master.zip

Found an issue?

Report bugs or request features on the DOMPurify issue tracker:

Open GitHub Issues