{"id":"CVE-2026-65912","published":"2026-07-23T13:16:23Z","modified":"2026-07-23T15:46:09Z","title":"DOMPurify before 3.3.2 URI Validation Bypass via ADD_ATTR","vendor":"cure53","product":"DOMPurify","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.003,"percentile":0.15125,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-cjmm-f4jc-qw8r","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/dompurify-before-uri-validation-bypass-via-add-attr","tags":["third-party-advisory"]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":3.02},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"cure53","affectedVersions":[{"vendor":"cure53","product":"DOMPurify","versions":["< 3.3.2"]}],"fixedVersions":[{"vendor":"cure53","product":"DOMPurify","versions":["3.3.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-23T15:46:00.253734Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"dompurify","vulnerableRanges":["<3.3.2"],"patched":["3.3.2"],"from":["GHSA-cjmm-f4jc-qw8r"],"provenance":"source"}],"summary":{"text":"DOMPurify versions before 3.3.2 contain a URI validation bypass in the handling of ADD_ATTR when it is supplied as a predicate function through EXTRA_ELEMENT_HANDLING.attributeCheck. An attacker who can supply such a predicate that accepts particular attribute and tag combinations can get unsafe protocols such as javascript: past sanitization, leading to DOM-based cross-site scripting when a user activates the link, which requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:22Z"},"euvd":{"id":"EUVD-2026-48275","exploited":false,"provenance":"source"}}