I used DOMPurify for over 7 years and at times, our users complained about the speed. Looking at this pass 149/150 test cases looks promising. DOMPurify itself has plenty of open issues which needs to be fixed tho.
Repository
ppmpreetham/DOMOxide
DOMOxide
Prevent XSS Attacks, in the speed of light (~70x faster)!
5stars
ppmpreetham/DOMOxide
DOMOxide
A high-performance Rust + WebAssembly HTML sanitizer that is ~70x faster and 5x smaller than DOMPurify, preventing XSS attacks.
Visit project- First shared
- Aug 27, 2026
- HN activity
- 31
Show HN@ppmpreethamAug 27, 2026
Show HN: A 70x faster and 5x smaller XSS sanitizer than DOMPurify
Community