Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 88%

CVE-2026-66010: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cure53 DOMPurify

0
Medium
VulnerabilityCVE-2026-66010cvecve-2026-66010
Published: 07/24/2026 (07/24/2026, 12:07:57 UTC)
Source: CVE Database V5
Vendor/Project: cure53
Product: DOMPurify

Description

CVE-2026-66010 is a medium severity cross-site scripting (XSS) vulnerability in DOMPurify before version 3.4.12. The issue arises because the afterSanitizeElements hook is not executed for custom elements allowed via CUSTOM_ELEMENT_HANDLING.tagNameCheck. This allows certain attributes to bypass security policies, enabling attackers to preserve sensitive attributes on custom elements that can later be re-injected into innerHTML sinks, resulting in second-order XSS.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

dompurify
pkg:npm/dompurify
Affected versions
<3.4.12

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/31/2026, 15:25:50 UTC

Technical Analysis

DOMPurify versions prior to 3.4.12 fail to execute the afterSanitizeElements hook for custom elements that are permitted through the CUSTOM_ELEMENT_HANDLING.tagNameCheck mechanism. This failure allows attributes on these custom elements to bypass the intended application security policies. As a result, attackers can maintain sensitive attributes on these elements, which may later be re-inserted into innerHTML sinks, creating opportunities for second-order cross-site scripting (XSS) attacks. The vulnerability has a CVSS 4.0 base score of 5.1, indicating a medium severity level.

Potential Impact

The vulnerability allows attackers to bypass DOMPurify's sanitization for certain custom elements, preserving sensitive attributes that can be re-injected into the DOM. This can lead to second-order XSS attacks, potentially enabling the execution of malicious scripts in the context of the affected web application. However, there are no known exploits in the wild at this time.

Mitigation Recommendations

Upgrade DOMPurify to version 3.4.12 or later, where this issue is fixed. Patch status is not explicitly confirmed in the vendor advisory, but the affected versions are clearly stated as those before 3.4.12, indicating that 3.4.12 includes the fix. No other mitigation or temporary workaround is provided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-07-23T19:22:30.643Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a63602d9c2644c7f8f15044

Added to database: 07/24/2026, 12:53:01 UTC

Last enriched: 07/31/2026, 15:25:50 UTC

Last updated: 09/07/2026, 10:52:10 UTC

Views: 69

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses