a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, SVG and MathML. DOMPurify works with a secure default, but offers a lot of configurability and hooks.