dompurify
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It runs as JavaScript and works in all modern browsers, as well as in Node.js (via jsdom). DOMPurify is written by security people who have vast background in web a
Security Advisories for dompurify in npm
Low
1 day ago
DOMPurify: Trusted Types policy survives `clearConfig()` and can poison later `RETURN_TRUSTED_TYPE` output
npm
dompurify
Moderate
1 day ago
DOMPurify IN_PLACE Sanitization Bypass via Attached Shadow Root Inside <template>.content
npm
dompurify
Moderate
1 day ago
DOMPurify: Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checks
npm
dompurify
Moderate
1 day ago
DOMPurify: IN_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOM
npm
dompurify
Moderate
about 2 months ago
DOMPurify: FORBID_TAGS bypassed by function-based ADD_TAGS predicate (asymmetry with FORBID_ATTR fix)
npm
dompurify
Moderate
about 2 months ago
DOMPurify has a SAFE_FOR_TEMPLATES bypass in RETURN_DOM mode
npm
dompurify
Moderate
about 2 months ago
DOMPurify: Prototype Pollution to XSS Bypass via CUSTOM_ELEMENT_HANDLING Fallback
npm
dompurify
Moderate
2 months ago
DOMPurify's ADD_TAGS function form bypasses FORBID_TAGS due to short-circuit evaluation
npm
dompurify
Moderate
3 months ago
DOMPurify USE_PROFILES prototype pollution allows event handlers
npm
dompurify
Moderate
3 months ago
DOMPurify is vulnerable to mutation-XSS via Re-Contextualization
npm
dompurify
Potential
High
over 1 year ago
Prototype pollution vulnerability found in Mermaid's bundled version of DOMPurify
npm
mermaid
Repackage
Repackage