Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cure53 | Dompurify | < 3.3.2 |
Related Weaknesses (CWE)
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-cjmm-f4jc-qw8rThird Party Advisory
- https://www.vulncheck.com/advisories/dompurify-before-uri-validation-bypass-via-Third Party Advisory
FAQ
What is CVE-2026-65912?
CVE-2026-65912 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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...
How severe is CVE-2026-65912?
CVE-2026-65912 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-65912?
Check the references section above for vendor advisories and patch information. Affected products include: Cure53 Dompurify.