CVE-2026-49458
Last modified
CVE-2026-49458 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.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. EPSS estimates a 0.34% 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.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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cure53 | Dompurify | < 3.4.6 |
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8Exploit, Mitigation, Vendor Advisory
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-49458?
How severe is CVE-2026-49458?
How do I fix CVE-2026-49458?
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-49444n8n is an open source workflow automation platform. Prior to…8.5
- CVE-2026-49445Cilium is a networking, observability, and security solution…8.8
- CVE-2026-49447Cosmos provides users the ability self-host a home server by…5.3
- CVE-2026-49448authentik is an open-source identity provider. Prior to vers…9.8
- CVE-2026-49451The OpenAPI.NET SDK contains a useful object model for OpenA…7.5
- CVE-2026-49454Relyra is a strict-by-default SAML 2.0 Service Provider libr…9.1
- CVE-2026-49459DOMPurify is a DOM-only cross-site scripting sanitizer for H…6.1
- CVE-2026-4946Ghidra versions prior to 12.0.3 improperly process annotatio…8.8
- CVE-2026-49460pypdf is a free and open-source pure-python PDF library. Pri…3.3
- CVE-2026-49461pypdf is a free and open-source pure-python PDF library. Pri…5.5
- CVE-2026-49465n8n is an open source workflow automation platform. Prior to…7.7
- CVE-2026-49467Pingvin Share X is a secure and easy self-hosted file sharin…8.8
Are you affected by CVE-2026-49458?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
