DOMPurify

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:

Growing steadily this week

7d +0.11% +20 stars in 7d
30d +0.36% +63 stars in 30d
Sep 8, 2026: 17,367 starsSep 9, 2026: 17,369 starsSep 10, 2026: 17,373 starsSep 11, 2026: 17,377 starsSep 12, 2026: 17,379 starsSep 13, 2026: 17,383 starsSep 14, 2026: 17,385 starsSep 15, 2026: 17,390 starsSep 16, 2026: 17,394 starsSep 17, 2026: 17,397 starsSep 18, 2026: 17,402 starsSep 19, 2026: 17,405 starsSep 20, 2026: 17,406 starsSep 21, 2026: 17,409 starsSep 22, 2026: 17,409 starsSep 23, 2026: 17,408 starsSep 24, 2026: 17,409 starsSep 25, 2026: 17,411 starsSep 26, 2026: 17,413 starsSep 27, 2026: 17,413 starsSep 28, 2026: 17,417 starsSep 29, 2026: 17,421 starsSep 30, 2026: 17,423 starsOct 1, 2026: 17,428 starsOct 2, 2026: 17,432 starsOct 3, 2026: 17,433 starsOct 4, 2026: 17,435 starsOct 5, 2026: 17,440 starsOct 6, 2026: 17,441 starsOct 7, 2026: 17,443 starsOct 8, 2026: 17,450 starsOct 9, 2026: 17,451 starsOct 10, 2026: 17,450 starsOct 11, 2026: 17,450 starsOct 12, 2026: 17,453 starsOct 13, 2026: 17,457 starsOct 14, 2026: 17,456 starsOct 15, 2026: 17,462 starsOct 16, 2026: 17,467 starsOct 17, 2026: 17,469 starsOct 18, 2026: 17,470 starsOct 19, 2026: 17,474 starsOct 20, 2026: 17,478 starsOct 21, 2026: 17,478 starsOct 22, 2026: 17,476 starsOct 23, 2026: 17,477 starsOct 24, 2026: 17,479 starsOct 25, 2026: 17,482 starsOct 26, 2026: 17,485 starsOct 27, 2026: 17,487 starsOct 28, 2026: 17,491 starsOct 29, 2026: 17,493 starsOct 30, 2026: 17,498 starsOct 31, 2026: 17,498 starsNov 1, 2026: 17,499 starsNov 2, 2026: 17,499 starsNov 3, 2026: 17,500 starsNov 4, 2026: 17,503 starsNov 5, 2026: 17,503 starsNov 6, 2026: 17,504 starsNov 7, 2026: 17,509 starsNov 8, 2026: 17,510 starsNov 9, 2026: 17,516 starsNov 10, 2026: 17,520 starsNov 11, 2026: 17,522 starsNov 12, 2026: 17,523 starsNov 13, 2026: 17,523 starsNov 14, 2026: 17,529 starsNov 15, 2026: 17,530 stars 17,36717,44917,530 Sep 8Nov 15

17,367 → 17,530 stars since Sep 8

17,363 Stars 907 Forks 1 Open issues
cross-site-scriptingdomdompurifyhtmljavascriptmathmlprevent-xss-attackssanitizersecuritysvgxss

Don't lose track of what's rising

The map refreshes every week. Follow @awesomemapdev for the week's biggest risers, or star the repo so you can find your way back.