XML injection in xmldom - CVE-2026-41672

 

XML injection in xmldom - CVE-2026-41672

Published: April 20, 2026


Vulnerability identifier: #VU126514
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2026-41672
CWE-ID: CWE-91
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to inject arbitrary XML nodes into serialized output.

The vulnerability exists due to improper neutralization of special elements in XML comment serialization in the DOM construction and serialization flow for comment nodes when serializing attacker-controlled comment content. A remote attacker can supply crafted comment data containing comment-breaking sequences to inject arbitrary XML nodes into serialized output.

This can affect workflows that generate XML and then store it, forward it, sign it, or pass it to another parser.


Affected software

xmldom

How to mitigate CVE-2026-41672

Install security update from vendor's website.

xmldom - addressed in versions 0.8.13, 0.9.10

External References

Related Security Bulletins