CVE-2026-65914
Undergoing Analysis Undergoing Analysis - In Progress

DOM Clobbering via Mutation XSS in DOMPurify

Vulnerability report for CVE-2026-65914, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-23

Last updated on: 2026-07-23

Assigner: VulnCheck

Description

DOMPurify before 3.3.2 contains a mutation-XSS vulnerability when sanitized HTML is reinserted into special parsing contexts using innerHTML with wrappers like script, xmp, iframe, noembed, noframes, or noscript. Attackers can craft payloads with closing sequences that break out of the wrapper context during reparsing, reactivating dangerous markup with event handlers to execute JavaScript.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-23
Last Modified
2026-07-23
Generated
2026-07-23
AI Q&A
2026-07-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
dompurify dompurify to 3.3.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a mutation-based Cross-Site Scripting (XSS) issue in DOMPurify versions before 3.3.2. It occurs when sanitized HTML is reinserted into special parsing contexts using innerHTML with wrappers like script, xmp, iframe, noembed, noframes, or noscript. Attackers craft payloads that escape the wrapper context during reparsing, reactivating harmful markup with event handlers to execute JavaScript.

Detection Guidance

Detecting this vulnerability requires checking the DOMPurify version in use. Inspect your project's package.json or dependency files for DOMPurify versions before 3.3.2. Use commands like 'npm list dompurify' or 'yarn list dompurify' to verify installed versions.

Impact Analysis

This vulnerability allows attackers to execute arbitrary JavaScript in a user's browser by tricking them into viewing specially crafted HTML. This could lead to session hijacking, data theft, or unauthorized actions on behalf of the user if they interact with the malicious content.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's integrity and confidentiality principles or HIPAA's safeguards for protected health information. Organizations using vulnerable DOMPurify versions may face compliance failures and potential regulatory penalties.

Mitigation Strategies

Upgrade DOMPurify to version 3.3.2 or later immediately. Avoid using innerHTML with wrappers like script, xmp, iframe, noembed, noframes, or noscript for sanitized HTML. Prefer DOM-safe APIs such as textContent or createElement instead.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-65914. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart