Visit Website

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML, and SVG. It's written in JavaScript and works in all modern browsers, ensuring security by sanitizing HTML to prevent XSS attacks. It has automated tests covering 19 different browsers and supports Node.js versions 16.x to 19.x.

ALTERNATIVES