Cure53 Dompurify vulnerabilities
35 known vulnerabilities affecting cure53/dompurify.
Total CVEs
35
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH3MEDIUM31
Vulnerabilities
Page 2 of 2
CVE-2026-66010P4MEDIUMCVSS 6.1fixed in 3.4.122026-07-24
CVE-2026-66010 [MEDIUM] CWE-79 CVE-2026-66010: DOMPurify before 3.4.12 fails to execute afterSanitizeElements hook for custom elements allowed via
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. Attackers can preserve sensitive attributes on custom elements that later re-inject them into innerHTML sinks, creating second-order XSS gadgets.
nvd
CVE-2024-45801P4MEDIUMCVSS 6.1fixed in 2.5.4≥ 3.0.0, < 3.1.3+1 more2024-09-16
CVE-2024-45801 [MEDIUM] CWE-1333 CVE-2024-45801: DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has be
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check. This renders dompurify unable to avoid
ghsanvdosv
CVE-2019-25155P4MEDIUMCVSS 6.1fixed in 1.0.112023-11-07
CVE-2019-25155 [MEDIUM] CWE-601 CVE-2019-25155: DOMPurify before 1.0.11 allows reverse tabnabbing in demos/hooks-target-blank-demo.html because link
DOMPurify before 1.0.11 allows reverse tabnabbing in demos/hooks-target-blank-demo.html because links lack a 'rel="noopener noreferrer"' attribute.
ghsanvdosv
CVE-2026-49978P4MEDIUMCVSS 6.1fixed in 3.4.7fixed in 3.4.62026-07-14
CVE-2026-49978 [MEDIUM] CWE-79 CVE-2026-49978: DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.7, DO
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.7, DOMPurify IN_PLACE sanitization could skip shadow contents attached to an element inside .content, allowing attacker-controlled markup such as event handlers, JavaScript URLs, or scripts to survive and execute when an application cloned and inserted the
ghsanvd
CVE-2026-65901P4MEDIUMCVSS 6.1fixed in 3.4.7≤ 3.4.62026-07-23
CVE-2026-65901 [MEDIUM] CWE-79 CVE-2026-65901: DOMPurify through 3.4.6 contains a cross-site scripting vulnerability in IN_PLACE mode that trusts a
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. Attackers can supply hostile live DOM objects with real script children whose observable nodeName is clobbered to appear as allowed elements, causing scripts to execute when the sanitized tree is inse
nvd
CVE-2026-75838P4MEDIUMCVSS 5.1fixed in 3.4.132026-08-18
CVE-2026-75838 [MEDIUM] CWE-79 CVE-2026-75838: DOMPurify before 3.4.13 contains a cross-site scripting vulnerability in IN_PLACE sanitization where
DOMPurify before 3.4.13 contains a cross-site scripting vulnerability in IN_PLACE sanitization where element-removal hooks fail to neutralize detached subtrees. Attackers can supply HTML with event handlers on descendant elements that execute after sanitization completes, even though the returned root appears clean.
nvd
CVE-2026-109345P4MEDIUMCVSS 6.1fixed in 3.4.162026-10-12
CVE-2026-109345 [MEDIUM] CWE-79 CVE-2026-109345: DOMPurify before 3.4.16 contains a cross-site scripting vulnerability that allows attackers to bypas
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. Attackers can supply a style element containing a closing style tag and an img onerror payload, which executes script when the applica
nvd
CVE-2026-109344P4MEDIUMCVSS 6.1≥ 3.4.13, < 3.4.162026-10-12
CVE-2026-109344 [MEDIUM] CWE-79 CVE-2026-109344: DOMPurify from 3.4.13 before 3.4.16 contains a cross-site scripting vulnerability because IN_PLACE m
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. Attackers can supply markup with on* handlers inside a wrapper removed by such hooks, leaving handlers armed on the live DOM to execute script in the
nvd
CVE-2024-47875P4MEDIUMCVSS 6.1fixed in 2.5.0≥ 3.0.0, < 3.1.3+1 more2024-10-11
CVE-2024-47875 [MEDIUM] CWE-79 CVE-2024-47875: DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to nesting-based mXSS. This vulnerability is fixed in 2.5.0 and 3.1.3.
ghsanvdosv
CVE-2025-26791P4MEDIUMCVSS 6.1fixed in 3.2.42025-02-14
CVE-2025-26791 [MEDIUM] CWE-79 CVE-2025-26791: DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mu
DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).
ghsanvdosv
CVE-2019-16728P4MEDIUMCVSS 6.1fixed in 2.0.12019-09-24
CVE-2019-16728 [MEDIUM] CWE-79 CVE-2019-16728: DOMPurify before 2.0.1 allows XSS because of innerHTML mutation XSS (mXSS) for an SVG element or a M
DOMPurify before 2.0.1 allows XSS because of innerHTML mutation XSS (mXSS) for an SVG element or a MATH element, as demonstrated by Chrome and Safari.
ghsanvdosv
CVE-2026-65904P4MEDIUMCVSS 4.7fixed in 3.4.4≤ 3.3.32026-07-23
CVE-2026-65904 [MEDIUM] CWE-754 CVE-2026-65904: DOMPurify through 3.3.3 fails to sanitize DOM elements passed via IN_PLACE mode when the element ori
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). A cross-realm instanceof check in the private _isNode() function returns false for foreign-realm nodes, causing DOMPurify to stringify the element (yielding '[object HTMLDivEle
nvd
CVE-2026-116804MEDIUMCVSS 6.1≥ 3.4.4, < 3.4.172026-10-27
CVE-2026-116804 [MEDIUM] CWE-79 CVE-2026-116804: DOMPurify from 3.4.4 before 3.4.17 contains a SAFE_FOR_TEMPLATES bypass that lets attackers preserve
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. Attackers can split expressions across text nodes separated by disallowed elements, which merge after removal and are evaluated by downstrea
nvd
CVE-2026-116802MEDIUMCVSS 6.1fixed in 3.4.172026-10-27
CVE-2026-116802 [MEDIUM] CWE-79 CVE-2026-116802: DOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to bypas
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 lowercase attribute names. Attackers can submit SVG with an animate or set element using attributeName="href" and a javascript: en
nvd
CVE-2026-116803MEDIUMCVSS 6.1fixed in 3.4.172026-10-27
CVE-2026-116803 [MEDIUM] CWE-79 CVE-2026-116803: DOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to keep
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. Attacker markup in detached subtrees is never walked or neutralized, so handlers like img onerror fire after sanitize() returns, causing DOM XSS.
nvd
← Previous2 / 2