Vulnerability Explorer›CVE-2026-49978
VULNERABILITY
CVE-2026-49978
Common Vulnerabilities and Exposures record
MEDIUM
Summary
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.7, DOMPurify IN_PLACE sanitization could skip shadow contents attached to an element inside <template>.content, allowing attacker-controlled markup such as event handlers, JavaScript URLs, or scripts to survive and execute when an application cloned and inserted the sanitized template. This issue is fixed in version 3.4.7.
Risk
- CVSS
- 6.3
- Severity
- MEDIUM
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Timeline
- Published
- Jul 14, 2026 21:17
- Modified
- Oct 24, 2026 21:10
- Last observed
- Oct 24, 2026 23:20
CWE
Affected product identifiers
cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*