Vulnerability record · CVE-2026-66010 · published 24 July 2026
CVE-2026-66010: Cure53 dompurify cross-site scripting vulnerability
Cure53 · Dompurify
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.
Description
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.
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/cure53/DOMPurify/security/advisories/GHSA-c2j3-45gr-mqc4 | ExploitVendor Advisory |
| https://www.vulncheck.com/advisories/dompurify-before-hook-bypass-via-custom-element-handling | Third Party Advisory |
| https://github.com/cure53/DOMPurify/security/advisories/GHSA-c2j3-45gr-mqc4 | ExploitVendor Advisory |
Track CVE-2026-66010 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-66010), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.