JavaScript · Apache-2.0
cure53/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:
★ 17.5k
Stars
901 forks · 0 open issues
+1.4/day
Growth · measured
Stars counted between two of our own snapshots roughly a week apart. The repository page gives the exact span.
34.4
Momentum / 100
see the breakdown below
12y ago
Created
last push 6d ago
Star history
How this score was built
| Component | Weight | Earned | Why |
|---|---|---|---|
| Velocity | 55 | 7.4 | +1.4/day, log-scaled against a 750/day ceiling |
| Acceleration | 15 | 0.0 | last week ran 0.70× the monthly pace |
| Freshness | 15 | 14.7 | last push 6d ago; decays to zero at 180 days |
| Scale | 15 | 12.3 | 17.5k stars, log-scaled against 150k — stops a 3-star repo topping the board |
| Momentum | 100 | 34.4 | sum of the above |
Detail
| Topics | cross-site-scriptingdomdompurifyhtmljavascriptmathmlprevent-xss-attackssanitizersecuritysvgxss |
| Matched on | Security (security) |
| Short window | +10 stars over 7 days = 1.4/day |
| Long window | +53 stars over 26 days = 2.0/day |
| Lifetime average | 3.77 stars/day over 4,644 days |
| First seen here | 2026-10-11 |
| Last read | 2d ago |