CVE-2026-41674xmldom
High 8.7 No auth needed
Follow: this CVE · xmldom · xmldom We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- May 7, 2026
- Updated
- Sep 10, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-91
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer` module. In @xmldom/xmldom prior to versions 0.9.10 and 0.8.13 and xmldom version 0.6.0 and prior, the package serializes DocumentType node fields (internalSubset, publicId, systemId) verbatim without any escaping or validation. When these fields are set programmatically to attacker-controlled strings, XMLSerializer.serializeToString can produce output where the DOCTYPE declaration is terminated early and arbitrary markup appears outside it. This issue has been patched in versions @xmldom/xmldom versions 0.9.10 and 0.8.13.
What to do
- Apply the vendor's security update for xmldom.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @xmldom/xmldom |
< 0.8.13 |
0.8.13 |
npm install @xmldom/xmldom@0.8.13 |
| npm | @xmldom/xmldom |
≥ 0.9.0 < 0.9.10 |
0.9.10 |
npm install @xmldom/xmldom@0.9.10 |
| npm | xmldom |
≤ 0.6.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-f6ww-3ggp-fr8h). Check the version in your lockfile before upgrading.
Affected products
- xmldom · xmldom
- Red Hat · Red Hat Developer Hub 1.8
- Red Hat · Red Hat Developer Hub 1.9
- Red Hat · Red Hat OpenShift Container Platform 4.20
- Red Hat · Red Hat OpenShift Container Platform 4.21
- Red Hat · Red Hat Build of Podman Desktop
- Red Hat · Red Hat Fuse 7
- Red Hat · Red Hat OpenShift AI (RHOAI)
- Red Hat · Self-service automation portal 2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.