CVE-2026-34601 Details
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.
A vulnerability exists in xmldom versions through 0.6.0 and in @xmldom/xmldom versions prior to 0.8.12 and 0.9.9. This vulnerability allows attacker-controlled strings containing the CDATA terminator ']]>' to be inserted into a CDATASection node. The issue arises because the XMLSerializer serializes CDATA content verbatim, without properly handling or rejecting the terminator. As a result, data meant to be text-only is interpreted as active XML markup in the serialized output. This flaw enables XML structure injection and manipulation of downstream business logic.
Users can update to xmldom version 0.6.0 or @xmldom/xmldom versions 0.8.12 or 0.9.9 to address this vulnerability. After updating, any attempt to use createCDATASection with data containing ']]>' will result in an InvalidCharacterError, as required by the WHATWG DOM specification. Additionally, the XMLSerializer will automatically split CDATA section data containing ']]>' into separate sections, preventing injection through mutation methods.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 2, 2026CISA-ADP
Assessed Apr 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-34601 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2454595 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34601.json | redhat-SADP | |
| https://github.com/xmldom/xmldom/security/advisories/GHSA-wh4c-j3r5-mjhp | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/xmldom/xmldom/commit/2b852e836ab86dbbd6cbaf0537f584dd0b5ac184 | [email protected] | Source CodeVendor |
| https://github.com/xmldom/xmldom/releases/tag/0.8.12 | [email protected] | Release NotesVendor |
| https://github.com/xmldom/xmldom/releases/tag/0.9.9 | [email protected] | Release NotesVendor |
| https://github.com/xmldom/xmldom/security/advisories/GHSA-wh4c-j3r5-mjhp | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-91 | XML Injection (aka Blind XPath Injection) | redhat-SADP |
| CWE-91 | XML Injection (aka Blind XPath Injection) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| xmldom | <= 0.6.0 (semver) |
CPE
Remediation
| |
| @xmldom/xmldom | < 0.8.12 (semver) >= 0.9.0, < 0.9.9 (semver) |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 21, 2026 | CVE Translated | [email protected] |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Apr 3, 2026 | CVE Modified | CISA-ADP |
| Apr 2, 2026 | New CVE Received | [email protected] |
Volerion