CVE-2026-65912CWE-79

DOMPurify before 3.3.2 URI Validation Bypass via ADD_ATTR

Medium · published July 23, 2026

CVSS v4.0
5.1
EPSS
0%
Percentile
21.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
EPSS
0.00300 · 21.5th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-07-23T13:16Z
EPSS history
Timeline
  • 23 JUL 13:16Z
    DOMPurify before 3.3.2 URI Validation Bypass via ADD_ATTR
    cvelistv5