
CVE catalog
CVE-2026-41674
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,
- Severity
- High · CVSS 8.7
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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.56% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-xmldom | sid | 0.9.12-1 | fixed |
| Debian | node-xmldom | forky | 0.9.12-1 | fixed |
| Debian | node-xmldom | trixie | 0.9.6-1 | vulnerable |
| Debian | node-xmldom | bookworm | 0.8.6-1 | vulnerable |
| Cpe | node-xmldom | Not reported | Not reported | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-xmldom | source | sid | 0.9.10-1 | not yet assigned | Not reported | Not reported |
| Debian | node-xmldom | source | forky | 0.9.10-1 | not yet assigned | Not reported | Not reported |
| Debian | node-xmldom | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | node-xmldom | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[trixie] node-xmldom: Minor issue [bookworm] node-xmldom: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-xmldom]Affected
Details (2)
0.8.6-1· all · bookwormAffected
nvd · node-xmldom · debian · bookworm; nvd · node-xmldom · debian · 12
0.8.6-1· all · bookwormAffected
nvd · node-xmldom · debian · bookworm; nvd · node-xmldom · debian · 12
[Debian 13 (Trixie)]
- [node-xmldom]Affected
Details (2)
0.9.6-1· all · trixieAffected
nvd · node-xmldom · debian · 13
0.9.6-1· all · trixieAffected
nvd · node-xmldom · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-41674]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-41674]
- [https://security-tracker.debian.org/tracker/CVE-2026-41674]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41674.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1833.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]