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,

[CVE catalog]

Severity
High · CVSS 8.7CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannode-xmldomsid0.9.12-1fixed
Debiannode-xmldomforky0.9.12-1fixed
Debiannode-xmldomtrixie0.9.6-1vulnerable
Debiannode-xmldombookworm0.8.6-1vulnerable
Cpenode-xmldomNot reportedNot reportedvulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-xmldomsourcesid0.9.10-1not yet assignedNot reportedNot reported
Debiannode-xmldomsourceforky0.9.10-1not yet assignedNot reportedNot reported
Debiannode-xmldomsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiannode-xmldomsourcebookworm(unfixed)not yet assignedNot reportedNot 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 · bookworm

      Affected

      nvd · node-xmldom · debian · bookworm; nvd · node-xmldom · debian · 12

    • 0.8.6-1 · all · bookworm

      Affected

      nvd · node-xmldom · debian · bookworm; nvd · node-xmldom · debian · 12

[Debian 13 (Trixie)]

  • [node-xmldom]Affected
    Details (2)
    • 0.9.6-1 · all · trixie

      Affected

      nvd · node-xmldom · debian · 13

    • 0.9.6-1 · all · trixie

      Affected

      nvd · node-xmldom · debian · 13

Observed:

References