CVE-2026-83618 xmldom: requireWellFormed DocType publicId/systemId validation is bypassable via an embedded line terminator
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.10 until 0.9.12, the requireWellFormed: true serializer validates DocumentType.publicId and DocumentType.systemId with PubidLiteral_match and SystemLiteral_match expressions produced by reg() in lib/grammar.js, which inherit the multiline flag. A complete valid literal on the first line can therefore satisfy the matcher while U+000A, U+000D, U+2028, or U+2029 and breakout markup remain in the emitted <!DOCTYPE ...> declaration. This bypasses the strict-serialization mitigation for the earlier DocumentType injection advisory; creation and direct property assignment remain unvalidated by design. This issue is fixed in @xmldom/xmldom version 0.9.12.
Upgrade path
9 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-xmldom(Debian 12) | = 0.8.6-1; = 0.9.5-1; = 0.9.6-1; = 0.9.8-1 +7 more | No fix listed | No fix yet |
| debian/node-xmldom(Debian 13) | = 0.9.6-1; = 0.9.8-1; = 0.9.8-2; = 0.9.9-1 +5 more | No fix listed | No fix yet |
| ubuntu/node-xmldom(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-xmldom(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-xmldom(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-xmldom(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/node-xmldom(Debian 14) | < 0.9.12-1; = 0.9.6-1; = 0.9.8-1; = 0.9.8-2 +4 more | 0.9.12-1 | Fixed |
| xmldom(npm) | >= 0.9.10, < 0.9.12; >= 0.9.10, <= 0.9.11 | 0.9.12 | Fixed |
| xmldom | = >= 0.9.10, < 0.9.12 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xmldom | = >= 0.9.10, < 0.9.12 | No fix listed |
| xmldom(npm) | >= 0.9.10, <= 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 |
| debian/node-xmldom(Debian:14) | = 0.9.10-1 | No fix listed |
| debian/node-xmldom(Debian:14) | = 0.9.10-2 | No fix listed |
Show 10 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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 |
| xmldom(npm) | >= 0.9.10, < 0.9.12 | 0.9.12 |
References
- https://github.com/xmldom/xmldom/security/advisories/GHSA-vr34-hp96-76pp exploit 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 2526855 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-83618 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- github.com product
- ENISA EUVD EUVD-2026-69244 third-party-advisory