CVE-2026-65911
mediumpriority · track · 0EPSS 0.003 · 27 %ileEUUSEPSS · scored 2026-10-27
In DOMPurify through 3.3.3, function predicates supplied via ADD_ATTR or ADD_TAGS to DOMPurify.sanitize() persist in internal state (EXTRA_ELEMENT_HANDLING) across subsequent sanitize() calls on the same instance. If a later call on the same instance provides ADD_ATTR or ADD_TAGS as an array rather than a function, the previously set function handler is neither cleared nor overwritten, so it continues to approve attacker-controlled attributes or tags. This can allow dangerous event-handler attributes or forbidden tags (bypassing FORBID_TAGS) to survive sanitization, resulting in cross-site scripting. The vendor (Cure53) considers this an edge case outside DOMPurify's threat model; the referenced advisory lists 3.4.0 as the patched version.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.2–6.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-9p3w-6h5p-cv75cnnvd
- https://www.vulncheck.com/advisories/dompurify-before-xss-via-add-attr-add-tags-state-leakagecnnvd
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-9p3w-6h5p-cv75enisa_euvd
- https://www.vulncheck.com/advisories/dompurify-before-xss-via-add-attr-add-tags-state-leakageenisa_euvd
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-9p3w-6h5p-cv75ExploitThird Party Advisorynvd
- https://www.vulncheck.com/advisories/dompurify-before-xss-via-add-attr-add-tags-state-leakageThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan