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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T00:19:06.000Z
- Modified: 2026-09-10T03:51:03.715Z
- Also known as: GHSA-wh4c-j3r5-mjhp
- Weaknesses: CWE-91
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- xmldom xmldom: xmldom <= 0.6.0; @xmldom/xmldom < 0.8.12; @xmldom/xmldom >= 0.9.0, < 0.9.9
- redhat-user-workloads/art-images: no versions given
- podman-desktop-macos-1-0: no versions given
- podman-desktop-windows-1-0: no versions given
- rhdh/rhdh-hub-rhel9: no versions given
- xmldom: no versions given
- rhoai/odh-mlflow-rhel9: no versions given
- redhat-user-workloads/code-rhel9: no versions given
- redhat-user-workloads/ansible-plugins: no versions given
- xmldom (npm): up to 0.6.0
- @xmldom/xmldom (npm): before 0.8.12; from 0.9.0 before 0.9.9

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/xmldom/xmldom/security/advisories/GHSA-wh4c-j3r5-mjhp> (exploit, web)
- <https://github.com/xmldom/xmldom/commit/2b852e836ab86dbbd6cbaf0537f584dd0b5ac184> (web)
- <https://github.com/xmldom/xmldom/releases/tag/0.8.12> (web)
- <https://github.com/xmldom/xmldom/releases/tag/0.9.9> (web)
- <https://access.redhat.com/security/cve/CVE-2026-34601> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2454595> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34601.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34601> (advisory)
- <https://github.com/xmldom/xmldom> (package)

## Sources

- CVE List: [CVE-2026-34601](https://www.cve.org/CVERecord?id=CVE-2026-34601), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-wh4c-j3r5-mjhp](https://github.com/advisories/GHSA-wh4c-j3r5-mjhp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-34601](https://nvd.nist.gov/vuln/detail/CVE-2026-34601), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-34601 · Whole record: https://cve.day/CVE-2026-34601.json · Rebuilt by cve.day 2026-11-25T22:59:17.829Z
