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.
CVE-2026-49458
This medium-severity CVE scores 6.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 79% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 6.1(medium)
- EG Risk
- —
- EPSS
- 28.1%
- KEV
- Not listed
Published
June 15, 2026
Last Modified
July 21, 2026
Advisory Details (3)
Auto-updated Jul 15, 2026Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checks · Advisory · cure53/DOMPurify · GitHub
https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8DOMPurify 3.4.6
Patch available: cure53/DOMPurify 3.4.6
https://github.com/cure53/DOMPurify/releases/tag/3.4.6commit bb7739e5bcce (cure53/DOMPurify)
Patch available: cure53/DOMPurify 3.4.6 (contains commit bb7739e5bcce)
https://github.com/cure53/DOMPurify/commit/bb7739e5bccec7e1ab3dae3f3e42d02db3acaaaeVendor Advisories for CVE-2026-49458(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| dompurify | — | 3.4.6 | — |
Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-06-15 20:12 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-49458?
When was CVE-2026-49458 disclosed?
Is CVE-2026-49458 actively exploited?
What is the CVSS score of CVE-2026-49458?
How do I remediate CVE-2026-49458?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-49458
Is Your Infrastructure Affected by CVE-2026-49458?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.