CVE-2026-34601
xmldom: XML injection via unsafe CDATA serialization allows attacker-controlled markup insertion
A public proof of concept exists; no exploitation attested.
- Published2026-04-02
- Fixed in0.9.9 · 0.8.12
- WeaknessCWE-91
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer` module. In xmldom versions 0.6.0 and prior and @xmldom/xmldom prior to versions 0.8.12 and 0.9.9, xmldom/xmldom allows attacker-controlled strings containing the CDATA terminator ]]> to be inserted into a CDATASection node. During serialization, XMLSerializer emitted the CDATA content verbatim without rejecting or safely splitting the terminator. As a result, data intended to remain text-only became active XML markup in the serialized output, enabling XML structure injection and downstream business-logic manipulation. This issue has been patched in xmldom version 0.6.0 and @xmldom/xmldom versions 0.8.12 and 0.9.9.
Timeline
dates in UTC- 2026-04-0218:16CVE publishedNVD
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.9 | ≥ 0.9.0, < 0.9.9 | 0.9.9 | OSV |
| 0.8 | < 0.8.12 | 0.8.12 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.6 | ≤ 0.6.0 | no fix published | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- xmldomAffected
- = xmldom <= 0.6.0no fix stated
- = @xmldom/xmldom < 0.8.12no fix stated
- = @xmldom/xmldom >= 0.9.0, < 0.9.9no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-04-02
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- @rootio/xmldomRoot:npmall versions · fixed in 0.6.0-root.io.1
- @rootio/xmldom__xmldomRoot:npmall versions · fixed in 0.9.8-root.io.1
- @rootio/xmldom__xmldomRoot:npmall versions · fixed in 0.7.13-root.io.1
- @rootio/xmldom__xmldomRoot:npmall versions · fixed in 0.7.13-root.io.2
- @rootio/xmldom__xmldomRoot:npmall versions · fixed in 0.7.13-root.io.3
- @rootio/xmldom__xmldomRoot:npmall versions · fixed in 0.7.13-root.io.4
- @rootio/xmldom__xmldomRoot:npmall versions · fixed in 0.7.13-root.io.5
- @rootio/xmldom__xmldomRoot:npmall versions · fixed in 0.8.11-root.io.1
58 more package ranges on OSV.dev
Vendor advisories
- CVE-2026-34601 Red Hat Product Security
xmldom: xmldom: XML structure injection via CDATA terminator
Fix
- Update @xmldom/xmldom to 0.9.9 · 0.8.12
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-04-03
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionpoc2026-04-03
- CNACVSS 3.17.5known since 2026-10-23
- CNAweakness (CWE)CWE-91known since 2026-10-23
- FIRST EPSSEPSS score0.5 %2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2026-04-01
- Microsoft MSRCadvisory—
Identifiers
- CGA-24c4-wxxr-w867same flawChainguard · CC-BY-NC-ND-4.0
- CGA-34r5-9qc3-r48vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-42hq-jrgh-hjfhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4cwm-8ph6-5gmrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4qx4-vpqj-qwr4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4vp2-gppf-vg29same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5jg3-x272-cc3xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-659x-66fv-9ppcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8f3c-jvhq-cr8hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8mv8-qfrh-mhh8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9pxm-gvvm-45ffsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9x3c-574h-8fvgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cc5c-hhfq-xpchsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cc7m-f4ww-g7jpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f9p9-qrh8-xqxpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gmgr-2x3x-3hmgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gpr2-jvph-c5c7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gv73-687v-r533same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hm79-4wwg-wc87same flawChainguard · CC-BY-NC-ND-4.0
- CGA-j7q3-ccrc-2hfrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jhf2-c42p-4m86same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jhxr-4332-977jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jxg8-w994-26q7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-mv6c-r89v-32rvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p26c-2wvm-73x8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-p8p2-jc4h-c96csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p95m-hm6p-jv38same flawChainguard · CC-BY-NC-ND-4.0
- CGA-prj2-g45r-r72psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vfpf-fhfr-vqwmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vgjx-prrr-6v93same flawChainguard · CC-BY-NC-ND-4.0
- CGA-w97g-4636-gwjwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-wwcr-jvcj-h4mpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xf33-h26j-5h9gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xg9j-mc6m-mm9gsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-18460same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-wh4c-j3r5-mjhpsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-38cq-6p3q-g5x3same flawMinimOS · LicenseRef-unstated
- MINI-8rh8-2f35-8xrmsame flawMinimOS · LicenseRef-unstated
- MINI-p983-g8gf-pwvcsame flawMinimOS · LicenseRef-unstated
- openSUSE-SU-2026:10497-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10506-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Published
- 2026-04-02
- Last modified
- 2026-07-21
- NVD status
- Deferred
- MSRC title
- xmldom: XML injection via unsafe CDATA serialization allows attacker-controlled markup insertion
- GitHub advisory
- GHSA-wh4c-j3r5-mjhp
Frequently asked questions
What is CVE-2026-34601?
Is CVE-2026-34601 actively exploited?
What is the CVSS score for CVE-2026-34601?
Running @xmldom/xmldom? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-64756same product
- CVE-2026-4800same product
- CVE-2026-25639same productAxios affected by Denial of Service via __proto__ Key in mergeConfig
- CVE-2026-40175same productAxios has Unrestricted Cloud Metadata Exfiltration via Header Injection Chain
- CVE-2025-13465same product
- CVE-2022-39353same product
- CVE-2021-32796same product
- CVE-2026-12143same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-wh4c-j3r5-mjhp
- Microsoft MSRC · Microsoft terms of use (personal and non-commercial use) · terms restrict redistribution
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0