XML injection in xmldom - #VU142549

 

XML injection in xmldom - #VU142549

Published: August 14, 2026


Vulnerability identifier: #VU142549
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
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 content into serialized XML or HTML output.

The vulnerability exists due to xml injection in Document.createElement() and XMLSerializer.serializeToString() when processing a user-controlled element name during serialization. A remote attacker can supply a specially crafted tagName value to inject arbitrary content into serialized XML or HTML output.

The issue bypasses the serializer\'s requireWellFormed check and can lead to cross-site scripting when the serialized output is consumed by a browser.


Affected software

xmldom

Remediation

Install security update from vendor's website.

xmldom - addressed in versions 0.8.14, 0.9.11

External References

Related Security Bulletins