CVE-2026-66010

published 24 Jul 2026 · updated 16 Nov 2026

DOMPurify before 3.4.12 Hook Bypass via CUSTOM_ELEMENT_HANDLING

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.4.12.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cure53<3.4.123.4.12

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-66010 severity on Zeptric[![CVE-2026-66010](https://zeptric.io/badge/cve/CVE-2026-66010.svg)](https://zeptric.io/cve/CVE-2026-66010)