CVE-2026-65912
MEDIUMDOMPurify before 3.3.2 URI Validation Bypass via ADD_ATTR
Title source: cnaDescription
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. Attackers can supply a predicate that accepts specific attribute and tag combinations to bypass URI-safe validation, allowing unsafe protocols like javascript: to survive sanitization and execute as DOM-based XSS when the link is activated.
References (2)
Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-cjmm-f4jc-qw8r)
https://github.com/cure53/DOMPurify/security/advisories/GHSA-cjmm-f4jc-qw8r
Third Party Advisory third-party-advisory
VulnCheck Advisory: DOMPurify before 3.3.2 URI Validation Bypass via ADD_ATTR
https://www.vulncheck.com/advisories/dompurify-before-uri-validation-bypass-via-add-attr
Scores
CVSS v3
6.1
EPSS
0.0018
EPSS Percentile
7.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (4)
cure53/DOMPurify
< 3.3.2
cure53/dompurify
< 3.3.2
cure53/DOMPurify
3.3.2
npm/dompurify
0 - 3.3.2npm
Published
Jul 23, 2026
Tracked Since
Jul 23, 2026