CVE-2026-41672
High · 7.5CVSS
7.5
EPSS
0.7%
Published
May 7, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @xmldom/xmldom | 0 | 0.8.13 |
| npm | @xmldom/xmldom | 0.9.0 | 0.9.10 |
| npm | xmldom | 0 | No fix |
Related vulnerabilities
- GHSA-j759-j44w-7fr8 xmldom has XML node injection through unvalidated comment serialization Same vulnerability
- CVE-2026-41675 xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and… Also affects @xmldom/xmldom
- CVE-2026-41673 xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and… Also affects @xmldom/xmldom
- CVE-2026-41674 xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and… Also affects @xmldom/xmldom
- GHSA-2v35-w6hq-6mfw xmldom: Uncontrolled recursion in XML serialization leads to DoS Also affects @xmldom/xmldom
- GHSA-f6ww-3ggp-fr8h xmldom has XML injection through unvalidated DocumentType serialization Also affects @xmldom/xmldom
- GHSA-x6wf-f3px-wcqx xmldom has XML node injection through unvalidated processing instruction serialization Also affects @xmldom/xmldom
- CVE-2026-34601 xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and… Also affects @xmldom/xmldom