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:
License & maintenance
Apache-2.0 is a permissive license: free to use commercially with attribution.
Last code push 2 days ago.