CVE-2026-34601 xmldom: XML injection via unsafe CDATA serialization allows attacker-controlled markup insertion
HighCVSS 7.5
EPSS 0.49%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xmldom | = xmldom <= 0.6.0 | No fix listed |
| xmldom | = @xmldom/xmldom < 0.8.12 | No fix listed |
| xmldom | = @xmldom/xmldom >= 0.9.0, < 0.9.9 | No fix listed |
| redhat migration toolkit applications | = 8 | No fix listed |
| redhat podman desktop | = 1 | No fix listed |
| redhat rhdh | = 1 | No fix listed |
| redhat jboss fuse | = 7 | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| redhat openshift | = 4 | No fix listed |
| redhat openshift devspaces | = 3 | No fix listed |
| redhat ansible portal | = 2 | No fix listed |
| npm xmldom(npm) | <= 0.6.0 | No fix listed |
| xmldom(npm) | < 0.8.12 | 0.8.12 |
| xmldom(npm) | >= 0.9.0, < 0.9.9 | 0.9.9 |
| debian/node-xmldom(Debian:12) | All versions | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.8.6-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.10-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.10-2 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.11-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.12-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.5-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.6-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.8-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.8-2 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.9-1 | No fix listed |
Show 17 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/node-xmldom(Debian:13) | All versions | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.10-1 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.10-2 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.11-1 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.12-1 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.6-1 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.8-1 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.8-2 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.9-1 | No fix listed |
| debian/node-xmldom(Debian:14) | < 0.9.9-1 | 0.9.9-1 |
| debian/node-xmldom(Debian:14) | = 0.9.6-1 | No fix listed |
| debian/node-xmldom(Debian:14) | = 0.9.8-1 | No fix listed |
| debian/node-xmldom(Debian:14) | = 0.9.8-2 | No fix listed |
| ubuntu/node-xmldom(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-xmldom(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-xmldom(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-xmldom(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/xmldom/xmldom/security/advisories/GHSA-wh4c-j3r5-mjhp exploit vendor-advisory
- https://github.com/xmldom/xmldom/commit/2b852e836ab86dbbd6cbaf0537f584dd0b5ac184 patch
- https://github.com/xmldom/xmldom/releases/tag/0.8.12
- https://github.com/xmldom/xmldom/releases/tag/0.9.9
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2454595 issue-tracking
- security.access.redhat.com
- nvd.nist.gov third-party-advisory
- github.com
- Debian Security Tracker CVE-2026-34601 vendor-advisory
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking