CVEfocus › CVE database › CVE-2026-34601

CVE-2026-34601xmldom: XML injection via unsafe CDATA serialization allows attacker-controlled markup…

CVSS 7.5 HighEPSS 0.6% (higher than 41% of CVEs)Published 2026-04-02Updated 2026-07-15Assigner: GitHub_M

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.

CWE-91

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Ubuntu, npm have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
5Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-xmldomFix pendingUBUNTU-CVE-2026-34601
Ubuntu 26.04node-xmldomUnder investigationUBUNTU-CVE-2026-34601
Ubuntu 25.10node-xmldomWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-34601
Ubuntu 24.04node-xmldomUnder investigationUBUNTU-CVE-2026-34601
Ubuntu 22.04node-xmldomUnder investigationUBUNTU-CVE-2026-34601
Ubuntu 20.04node-xmldomFix pendingUBUNTU-CVE-2026-34601
Debian 14node-xmldomFixed0.9.9-1DEBIAN-CVE-2026-34601
Debian 13node-xmldomFix pendingDEBIAN-CVE-2026-34601
Debian 12node-xmldomFix pendingDEBIAN-CVE-2026-34601
npm library@xmldom/xmldomFixed0.9.9GHSA-wh4c-j3r5-mjhp
npm libraryxmldomFix pendingGHSA-wh4c-j3r5-mjhp

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.