XSS in Cure53 Dompurify
CVE-2026-66010
DOMPurify before 3.4.12 fails to execute afterSanitizeElements hook for custom elements allowed via CUSTOM_ELEMENT_HANDLING.tagNameCheck, allowing attributes to bypass application security policies. Attackers can preserve sensitive attributes on custom elements that later re-inject them into innerHTML sinks, creating second-order XSS gadgets.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 12.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cure53 Dompurify — versions 0, 3.4.12
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-c2j3-45gr-mqc4) (vendor-advisory, Exploit, Vendor Advisory)
- VulnCheck Advisory: DOMPurify before 3.4.12 Hook Bypass via CUSTOM_ELEMENT_HANDLING (Third Party Advisory, third-party-advisory)