Priority MEDIUM 56
DOMPurify from 3.4.4 before 3.4.17 contains a SAFE_FOR_TEMPLATES bypass that lets attackers preserve template expressions in attached shadow roots when using RETURN_DOM, RETURN_DOM_FRAGMENT, or IN_PLACE modes.
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.00178 · Published 2026-10-26 · Fixed in 3.4.17 CWE-79
Priority MEDIUM 56
DOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to keep event handlers armed when an IN_PLACE hook removes a parent or sibling node.
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.00164 · Published 2026-10-26 · Fixed in 3.4.17 CWE-79
Priority MEDIUM 56
DOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to bypass the SMIL attributeName=href guard when PARSER_MEDIA_TYPE is application/xhtml+xml, because transformCaseFunc does not…
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.00217 · Published 2026-10-26 · Partial fix · 3.4.17 CWE-79
Priority MEDIUM 56
DOMPurify before 3.4.16 contains a cross-site scripting vulnerability that allows attackers to bypass sanitization because IN_PLACE mode returns a force-removed style element whose text content still carries markup.
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.0025 · Published 2026-10-12 · Fixed in 3.4.16 CWE-79
Priority LOW 28
DOMPurify from 3.4.13 before 3.4.16 contains a cross-site scripting vulnerability because IN_PLACE mode fails to neutralize subtrees detached by afterSanitizeElements or afterSanitizeAttributes hooks.
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.00188 · Published 2026-10-12 · Fixed in 3.4.16 CWE-79
Priority MEDIUM 56
DOMPurify before 3.4.13 contains a cross-site scripting vulnerability in IN_PLACE sanitization where element-removal hooks fail to neutralize detached subtrees.
CVSS 4.0MEDIUM 5.1· Network · Low privileges · User interaction · EPSS 0.00394 · Published 2026-08-18 · Partial fix · 3.4.13 CWE-79
Priority MEDIUM 56
DOMPurify before 3.4.12 fails to execute afterSanitizeElements hook for custom elements allowed via CUSTOM_ELEMENT_HANDLING.tagNameCheck, allowing attributes to bypass application security policies.
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.00215 · Published 2026-07-24 · Partial fix · 3.4.12 CWE-79
Priority MEDIUM 57
DOMPurify before 3.3.2 contains a mutation-XSS vulnerability when sanitized HTML is reinserted into special parsing contexts using innerHTML with wrappers like script, xmp, iframe, noembed, noframes, or noscript.
CVSS 4.0MEDIUM 5.3· Network · No auth · User interaction · EPSS 0.00307 · Published 2026-07-23 · Partial fix · 3.3.2 CWE-79
Priority LOW 23
DOMPurify before 3.3.2 contains a prototype pollution vulnerability in USE_PROFILES mode that allows attackers to bypass attribute filtering by polluting Array.prototype properties.
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.00318 · Published 2026-07-23 · Partial fix · 3.3.2 CWE-1321
Priority LOW 23
DOMPurify before 3.3.2 contains a URI validation bypass vulnerability when ADD_ATTR is provided as a predicate function via EXTRA_ELEMENT_HANDLING.attributeCheck.
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.003 · Published 2026-07-23 · Partial fix · 3.3.2 CWE-79
Priority LOW 29
In DOMPurify through 3.3.3, function predicates supplied via ADD_ATTR or ADD_TAGS to DOMPurify.sanitize() persist in internal state (EXTRA_ELEMENT_HANDLING) across subsequent sanitize() calls on the same instance.
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.00333 · Published 2026-07-23 · Partial fix · 3.4.0 CWE-79
Priority MEDIUM 45
DOMPurify through 3.3.3 fails to sanitize DOM elements passed via IN_PLACE mode when the element originates from a different window/realm (e.g., an iframe's contentDocument).
CVSS 4.0LOW 2.3· Network · No auth · User interaction · EPSS 0.00266 · Published 2026-07-23 · Partial fix CWE-754
Priority LOW 23
DOMPurify before 3.4.0 contains a logic error in the ADD_TAGS function where short-circuit evaluation allows forbidden tags to bypass FORBID_TAGS restrictions.
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.00325 · Published 2026-07-23 · Partial fix · 3.4.0 CWE-697
Priority MEDIUM 57
DOMPurify before 3.4.7 passes direct references to the module-level DEFAULT_ALLOWED_TAGS and DEFAULT_ALLOWED_ATTR sets to the uponSanitizeElement and uponSanitizeAttribute hooks via data.allowedTags / data.allowedAttribu…
CVSS 4.0MEDIUM 5.3· Network · No auth · User interaction · EPSS 0.00355 · Published 2026-07-23 · Partial fix · 3.4.7 CWE-501
Priority MEDIUM 56
DOMPurify through 3.4.6 contains a cross-site scripting vulnerability in IN_PLACE mode that trusts attacker-controlled nodeName on live non-form nodes.
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.00285 · Published 2026-07-23 · Partial fix CWE-79
Priority MEDIUM 56
DOMPurify versions >=3.0.0 and before 3.4.8, when configured with SAFE_FOR_TEMPLATES together with a DOM output mode (RETURN_DOM, RETURN_DOM_FRAGMENT, or IN_PLACE), fail to strip template expressions (e.g.
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.0031 · Published 2026-07-23 · Partial fix · 3.4.8 CWE-79
Priority LOW 29
DOMPurify 3.0.0 before 3.4.9 does not reset the retained Trusted Types policy when clearConfig() is called, so a DOMPurify instance reused across trust boundaries stays bound to a previously supplied TRUSTED_TYPES_POLICY…
CVSS 4.0MEDIUM 5.1· Network · No auth · User interaction · EPSS 0.00413 · Published 2026-07-23 · Partial fix · 3.4.9 CWE-693
Priority LOW 23
DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitizeAttribute hook, allowing the hook to permanently mutate the shared allowlist.
CVSS 4.0MEDIUM 5.1· Network · Low privileges · User interaction · EPSS 0.00212 · Published 2026-07-23 · Partial fix · 3.4.11 CWE-79
Priority MEDIUM 61
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG.
CVSS 4.0MEDIUM 6.3· Network · No auth · User interaction · EPSS 0.00404 · Published 2026-07-14 · Partial fix · 3.4.6, 3.4.7 CWE-79
Priority MEDIUM 60
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG.
CVSS 3.1MEDIUM 6.1· Network · No auth · User interaction · EPSS 0.00365 · Published 2026-07-14 · Partial fix · 3.4.6 CWE-1321
Priority MEDIUM 60
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG.
CVSS 3.1MEDIUM 6.1· Network · No auth · User interaction · EPSS 0.00404 · Published 2026-07-14 · Partial fix · 3.4.6 CWE-501
Priority HIGH 69
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG.
CVSS 3.1HIGH 8.2· Network · No auth · User interaction · EPSS 0.0041 · Published 2026-07-14 · Partial fix · 3.4.5 CWE-79
Priority MEDIUM 60
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG.
CVSS 4.0MEDIUM 6.0· Network · No auth · User interaction · EPSS 0.00313 · Published 2026-04-23 · Partial fix · 3.4.0 CWE-183
Priority LOW 32
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG.
CVSS 3.1MEDIUM 6.8· Network · No auth · User interaction · EPSS 0.00248 · Published 2026-04-23 · Partial fix · 3.4.0 CWE-1289
Priority MEDIUM 64
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG.
CVSS 3.1MEDIUM 6.9· Network · No auth · User interaction · EPSS 0.0027 · Published 2026-04-23 · Partial fix · 3.4.0 CWE-1321
Load more