CVE-2026-41672
HIGHxmldom: XML node injection through unvalidated comment serialization
Title source: cnaDescription
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 allows attacker-controlled comment content to be serialized into XML without validating or neutralizing comment-breaking sequences. As a result, an attacker can terminate the comment early and inject arbitrary XML nodes into the serialized output. This issue has been patched in versions @xmldom/xmldom versions 0.9.10 and 0.8.13.
References (10)
Core 10
Core References
Vendor Advisory
https://access.redhat.com/errata/RHSA-2026:26234
Vendor Advisory
https://access.redhat.com/security/cve/CVE-2026-41672
Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2467631
X_Refsource_Misc x_refsource_misc
https://github.com/xmldom/xmldom/commit/b397540889086da868c30c366ad5c220d1a750c7
X_Refsource_Misc x_refsource_misc
https://github.com/xmldom/xmldom/commit/fda7cc313de30243fea35cada64e0bb12099c2a1
X_Refsource_Misc x_refsource_misc
https://github.com/xmldom/xmldom/releases/tag/0.8.13
X_Refsource_Misc x_refsource_misc
https://github.com/xmldom/xmldom/releases/tag/0.9.10
X_Refsource_Confirm x_refsource_confirm
https://github.com/xmldom/xmldom/security/advisories/GHSA-j759-j44w-7fr8
X_Refsource_Misc x_refsource_misc
https://github.com/xmldom/xmldom/pull/987
Scores
CVSS v3
7.5
EPSS
0.0037
EPSS Percentile
28.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-91
Status
published
Products (6)
npm/xmldom
0 - 0.6.0npm
xmldom/xmldom
0 - 0.8.13npm
xmldom/xmldom
0.9.0 - 0.9.10npm
xmldom/xmldom
@xmldom/xmldom < 0.8.13
xmldom/xmldom
@xmldom/xmldom >= 0.9.0, < 0.9.10
xmldom/xmldom
xmldom <= 0.6.0
Published
May 07, 2026
Tracked Since
May 07, 2026