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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| xmldom | xmldom | xmldom <= 0.6.0, @xmldom/xmldom < 0.8.12, @xmldom/xmldom >= 0.9.0, < 0.9.9 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-xmldom | 0.9.9-1 | — |
| Debian 13 | node-xmldom | No fix yet | — |
| Debian 12 | node-xmldom | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-xmldom | No fix yet | — |
| Ubuntu 26.04 LTS | node-xmldom | No fix yet | — |
| Ubuntu 25.10 | node-xmldom | No fix yet | — |
| Ubuntu 24.04 LTS | node-xmldom | No fix yet | — |
| Ubuntu 22.04 LTS | node-xmldom | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-xmldom | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | heroic-games-launcher | 2.20.1-5.1 | openSUSE-SU-2026:10497-1 |
| openSUSE Tumbleweed | python-jupyterlab-templates | 0.5.3-1.1 | openSUSE-SU-2026:10506-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | saf | 1.6.0-r0 | — |
| Wolfi rolling | sqlpad | 7.5.7-r17 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @xmldom/xmldom | < 0.8.12 | 0.8.12 | GHSA-wh4c-j3r5-mjhp |
| npm | @xmldom/xmldom | >= 0.9.0, < 0.9.9 | 0.9.9 | GHSA-wh4c-j3r5-mjhp |
| npm | xmldom | <= 0.6.0 | — | GHSA-wh4c-j3r5-mjhp |
Advisories 4
- WID-SEC-2026-2933 Splunk SOAR: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 2, 2026
- WID-SEC-2026-1407 IBM App Connect Enterprise Certified Container: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 3, 2026
- openSUSE-SU-2026:10506-1 jupyter-jupyterlab-templates-0.5.3-1.1 on GA media SUSE / openSUSE Security Updates · Apr 9, 2026
- openSUSE-SU-2026:10497-1 heroic-games-launcher-2.20.1-5.1 on GA media SUSE / openSUSE Security Updates · Apr 8, 2026