CVE-2026-83609 xmldom: Creation-time XML Name/QName validation is bypassable via an embedded line terminator, allowing injection on the default serialization path
HighCVSS 8.7
EPSS 0.54%
- Published
- Updated
- Exploit status
- No public exploit known
Description
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.0 until 0.9.12, the shared reg() builder in lib/grammar.js compiles the anchored QName_exact validator with the multiline flag, so ^ and $ validate only one line instead of the complete name. createElementNS, createAttributeNS, createDocumentType, and createAttribute consequently accept a malformed XML name whose first line is valid and whose later text injects markup when serialized through either the default path or requireWellFormed: true. The triggering ECMAScript line terminators are U+000A, U+000D, U+2028, and U+2029. This issue is fixed in @xmldom/xmldom version 0.9.12.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xmldom | = >= 0.9.0, < 0.9.12 | No fix listed |
| redhat/rh-podman-desktop.git(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/xmldom(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| xmldom(npm) | >= 0.9.0, <= 0.9.11 | No fix listed |
| debian/node-xmldom(Debian:12) | All versions | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.8.6-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.10-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.10-2 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.11-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.12-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.5-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.6-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.8-1 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.8-2 | No fix listed |
| debian/node-xmldom(Debian:12) | = 0.9.9-1 | No fix listed |
| debian/node-xmldom(Debian:13) | All versions | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.10-1 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.10-2 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.11-1 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.12-1 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.6-1 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.8-1 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.8-2 | No fix listed |
| debian/node-xmldom(Debian:13) | = 0.9.9-1 | No fix listed |
| debian/node-xmldom(Debian:14) | < 0.9.12-1 | 0.9.12-1 |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/node-xmldom(Debian:14) | = 0.9.10-1 | No fix listed |
| debian/node-xmldom(Debian:14) | = 0.9.10-2 | No fix listed |
| debian/node-xmldom(Debian:14) | = 0.9.11-1 | No fix listed |
| debian/node-xmldom(Debian:14) | = 0.9.6-1 | No fix listed |
| debian/node-xmldom(Debian:14) | = 0.9.8-1 | No fix listed |
| debian/node-xmldom(Debian:14) | = 0.9.8-2 | No fix listed |
| debian/node-xmldom(Debian:14) | = 0.9.9-1 | No fix listed |
| ubuntu/node-xmldom(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-xmldom(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-xmldom(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-xmldom(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/xmldom/xmldom/security/advisories/GHSA-3px3-54cx-rmw9 vendor-advisory
- https://github.com/xmldom/xmldom/pull/1071 patch
- https://github.com/xmldom/xmldom/commit/7b2ec67e1750daadd0bb06c92e875e726544a362 patch
- https://github.com/xmldom/xmldom/releases/tag/0.9.12
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2526815 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory
- github.com
- Debian Security Tracker CVE-2026-83609 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking