CVE-2026-65912
DOMPurify before 3.3.2 contains a URI validation bypass …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/cure53/DOMPurify/security/advisories/GHSA-cjmm-f4jc-qw8r
- www.vulncheck.com/advisories/dompurify-before-uri-validation-bypass-via-add-attr
- github.com/cure53/DOMPurify/releases/tag/3.3.2
- github.com/advisories/GHSA-cjmm-f4jc-qw8r
- nvd.nist.gov/vuln/detail/CVE-2026-65912
- cve.org/CVERecord?id=CVE-2026-65912
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.