VulnerabilityAnalyzed
CVE-2026-49978
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG.
MEDIUM 6.3EPSS 0.33%
Does this matter?
Lower severity and a low EPSS score (0.33%). Track it; it rarely justifies an emergency change on its own.
Description
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.
- CVSS 4.0
- 6.3 MEDIUMCVSS: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/M
- EPSS
- 0.33% probability · 26th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- cure53/dompurify
- Source
- security-advisories@github.com
References
- https://github.com/cure53/DOMPurify/commit/ca30f070c360df162a3e3848e80e6fd3c9e74bffPatch
- https://github.com/cure53/DOMPurify/releases/tag/3.4.7Release Notes
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-rp9w-3fw7-7cwqVendor Advisory, Exploit
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-rp9w-3fw7-7cwqVendor Advisory, Exploit
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.