CVE-2026-66010
published medium CVSS 4.0 · 5.1DOMPurify before 3.4.12 Hook Bypass via CUSTOM_ELEMENT_HANDLING
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cure53 | — | DOMPurify0 to < 3.4.12 (affected · semver) · 3.4.12 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptoraarch64 | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorppc64le | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptors390x | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorx86_64 | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cure53 | DOMPurify | 0 to < 3.4.12 (affected · semver)3.4.12 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2- GitHub Security Advisory (GHSA-c2j3-45gr-mqc4) https://github.com/cure53/DOMPurify/security/advisories/GHSA-c2j3-45gr-mqc4
- VulnCheck Advisory: DOMPurify before 3.4.12 Hook Bypass via CUSTOM_ELEMENT_HANDLING https://www.vulncheck.com/advisories/dompurify-before-hook-bypass-via-custom-element-handling
Provider assertions
2VulnCheck · cna
DOMPurify before 3.4.12 Hook Bypass via CUSTOM_ELEMENT_HANDLING
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 56e7230163a7a29cac104970963f3539e459961f6d1c586df756d54663e1fdb9
- Ingested
- 23 Sep 2026, 09:26:32 UTC
- Source record
- Official CVE record