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 (6)
Core 6
Core References
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
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
Scores
CVSS v4
8.7
EPSS
0.0007
EPSS Percentile
22.3%
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
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