CVE Catalog

CVE-2026-49458

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.36%

28th percentile - higher than 28% of all known CVEs

Summary

DOMPurify prior to version 3.4.6 incorrectly handles same-origin foreign-realm DOM nodes with IN_PLACE: true, bypassing sanitization and allowing executable markup to survive.

Risk Assessment

An attacker can inject malicious HTML/JavaScript code, leading to XSS attacks and data theft.

Recommendation

Upgrade DOMPurify to version 3.4.6 or later, which fixes this vulnerability.

Other vulnerabilities in DOMPurify

See all
Original NVD description (English source)

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(node, { IN_PLACE: true }) accepted same-origin foreign-realm DOM nodes while follow-on checks used parent-realm constructors, causing instanceof checks for forms, named node maps, document fragments, and elements to fail and skip clobber, template-content, and shadow-DOM sanitization branches so executable markup could survive. This issue is fixed in version 3.4.6.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS