CVE-2026-65912
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.
How to fix
- cure53 dompurify3.3.2 or later
- dompurify3.3.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cure53 dompurify | v < 3.3.2 | 3.3.2 |
| dompurifynpm | v < 3.3.2 | 3.3.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.