DOMPurify is a fast, DOM-only XSS sanitizer for HTML, MathML and SVG. Distributed as an npm library, it strips dangerous markup and is easily configured with hooks, making it a widely used developer dependency for preventing cross-site scripting.
17524xss,sanitizer,domDOMPurify is a fast, DOM-only XSS sanitizer for HTML, MathML and SVG. Distributed as an npm library, it strips dangerous markup and is easily configured with hooks, making it a widely used developer dependency for preventing cross-site scripting.