PatchSiren cyber security CVE debrief
CVE-2026-66010 cure53 CVE debrief
The CVE-2026-66010 vulnerability in DOMPurify arises from the failure to execute the afterSanitizeElements hook for custom elements allowed via CUSTOM_ELEMENT_HANDLING.tagNameCheck. This allows attackers to preserve sensitive attributes on custom elements, which can later be re-injected into innerHTML sinks, creating second-order XSS gadgets. Affected product deployments should be identified and patched or mitigated to prevent potential security incidents. The vulnerability has a CVSS score of 5.1 and a medium severity. Developers and security teams using DOMPurify versions prior to 3.4.12 should be aware of this vulnerability and take immediate action to patch or mitigate it. Operational impact may vary based on specific use cases and integrations of DOMPurify within their environments.
- Vendor
- cure53
- Product
- DOMPurify
- CVSS
- MEDIUM 5.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-24
- Original CVE updated
- 2026-08-06
- Advisory published
- 2026-07-24
- Advisory updated
- 2026-08-06
Who should care
Developers and security teams using DOMPurify versions prior to 3.4.12 should be aware of this vulnerability and take immediate action to patch or mitigate it. Operational impact may vary based on specific use cases and integrations of DOMPurify within their environments. Security teams should review compensating controls and monitor for potential security incidents related to this vulnerability. Vulnerability management and security teams should prioritize patching or mitigating affected deployments to prevent second-order XSS attacks.
Technical summary
The CVE-2026-66010 vulnerability in DOMPurify arises from the failure to execute the afterSanitizeElements hook for custom elements allowed via CUSTOM_ELEMENT_HANDLING.tagNameCheck. This allows attackers to preserve sensitive attributes on custom elements, which can later be re-injected into innerHTML sinks, creating second-order XSS gadgets. Affected product deployments should be identified and patched or mitigated to prevent potential security incidents.
Defensive priority
Medium-priority defensive actions are required to address the DOMPurify vulnerability, CVE-2026-66010, which allows for second-order XSS attacks via custom elements.
Recommended defensive actions
- Apply the patched version of DOMPurify (3.4.12 or later) to prevent exploitation of the CVE-2026-66010 vulnerability.
- Implement compensating controls, such as Content Security Policy (CSP), to mitigate the impact of potential XSS attacks.
- Monitor for and respond to potential security incidents related to this vulnerability.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The CVE-2026-66010 vulnerability in DOMPurify allows attackers to bypass application security policies by preserving sensitive attributes on custom elements. Evidence from the NVD and vendor advisories indicates that this issue was addressed in version 3.4.12. Limited source detail suggests verifying affected deployments and reviewing official advisories for scope and severity. Defenders should focus on patching or mitigating the vulnerability to prevent second-order XSS attacks.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-66010 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-66010
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-66010 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-66010
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/cure53/DOMPurify/security/advisories/GHSA-c2j3-45gr-mqc4
[email protected] - Exploit, Vendor Advisory
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/dompurify-before-hook-bypass-via-custom-element-handling
[email protected] - Third Party Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.