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:
翻译 - DOMPurify-用于HTML,MathML和SVG的纯DOM,超快速,超级耐XSS消毒剂。 DOMPurify具有安全默认值,但提供了许多可配置性和挂钩。演示:
Safe replacement for the v-html directive
Use DOMPurify on server and client in the same way
Inclusive Angular API for DOMPurify
rewrite constructor arguments, call DOMPurify, profit
A wrapper around DOMPurify.
Purify your html content before marking it safe
Markdown to HTML using marked and DOMPurify. Safe by default.