CVE-2026-34601
High · 7.5CVSS
7.5
EPSS
0.5%
Published
Apr 2, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @xmldom/xmldom | 0 | 0.8.12 |
| npm | @xmldom/xmldom | 0.9.0 | 0.9.9 |
| npm | xmldom | 0 | No fix |
| openSUSE:Tumbleweed | heroic-games-launcher | 0 | 2.20.1-5.1 |
| openSUSE:Tumbleweed | python-jupyterlab-templates | 0 | 0.5.3-1.1 |
Related vulnerabilities
- GHSA-wh4c-j3r5-mjhp xmldom: XML injection via unsafe CDATA serialization allows attacker-controlled markup… Same vulnerability
- CVE-2026-41672 xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and… Also affects @xmldom/xmldom
- CVE-2026-41675 xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and… Also affects @xmldom/xmldom
- CVE-2026-41673 xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and… Also affects @xmldom/xmldom
- CVE-2026-41674 xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and… Also affects @xmldom/xmldom
- GHSA-2v35-w6hq-6mfw xmldom: Uncontrolled recursion in XML serialization leads to DoS Also affects @xmldom/xmldom
- GHSA-f6ww-3ggp-fr8h xmldom has XML injection through unvalidated DocumentType serialization Also affects @xmldom/xmldom
- GHSA-x6wf-f3px-wcqx xmldom has XML node injection through unvalidated processing instruction serialization Also affects @xmldom/xmldom