CVE-2026-41674CWE-91

CVE-2026-41674

High · published May 7, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
50.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00650 · 50.5th percentile
Weakness
CWE-91 · XML Injection (aka Blind XPath Injection)
Published
2026-05-07T08:16Z
References (12)
EPSS history
Timeline
  • 07 MAY 03:47Z
    xmldom: XML injection through unvalidated DocumentType serialization
    cvelistv5