CVE-2026-49978
Last modified
CVE-2026-49978 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.54% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cure53 | Dompurify | < 3.4.7 |
References
- 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
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-49978?
How severe is CVE-2026-49978?
How do I fix CVE-2026-49978?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-49970Laravel-Mediable before 7.0.0 contains a path traversal vuln…8.8
- CVE-2026-49971Laravel-Mediable before 7.0.0 contains a stored cross-site s…6.1
- CVE-2026-49972Laravel-Mediable before 7.0.0 contains a file upload vulnera…8.8
- CVE-2026-49973Hermes WebUI before version 0.51.358 contains an improper ac…9.4
- CVE-2026-49975Memory Allocation with Excessive Size Value vulnerability in…7.5
- CVE-2026-49977tarteaucitron.js is a compliant and accessible cookie banner…4.3
- CVE-2026-49979Appsmith is a platform to build admin panels, internal tools…2.7
- CVE-2026-4998A weakness has been identified in Sinaptik AI PandasAI up to…7.3
- CVE-2026-49980Rclone is a command-line program to sync files and directori…9.8
- CVE-2026-49981Twig is a template language for PHP. Prior to 3.27.0, the pe…8.2
- CVE-2026-49982tmp is a temporary file and directory creator for node.js. I…8.2
- CVE-2026-49983Deno is a JavaScript, TypeScript, and WebAssembly runtime. P…5.2
Are you affected by CVE-2026-49978?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
