CVE-2026-83606 xmldom PI grammar regex ReDoS: quadratic backtracking on unterminated processing instructions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.0-beta.9 until 0.9.11, the processing-instruction production in lib/grammar.js lets the greedy S+ separator and lazy Char*? data group repeatedly repartition a long whitespace tail when the required closing ?> is absent. Both parsePI and parseProcessingInstruction apply the expression to the entire remaining source, causing quadratic backtracking during DOMParser.parseFromString() under default options and allowing a small unauthenticated XML input to stall the Node.js event loop. This issue is fixed in @xmldom/xmldom version 0.9.11.
Upgrade path
8 packages: 2 fixed, 5 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 |
| debian/node-xmldom(Debian 14) | < 0.9.11-1; = 0.9.6-1; = 0.9.8-1; = 0.9.8-2 +3 more | 0.9.11-1 | Fixed |
| xmldom(npm) | >= 0.9.0-beta.9, < 0.9.11; >= 0.9.0-beta.9, <= 0.9.10 | 0.9.11 | Fixed |
| xmldom | = >= 0.9.0-beta.9, < 0.9.11 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xmldom | = >= 0.9.0-beta.9, < 0.9.11 | No fix listed |
| xmldom(npm) | >= 0.9.0-beta.9, <= 0.9.10 | 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.11-1 | 0.9.11-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 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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 |
| xmldom(npm) | >= 0.9.0-beta.9, < 0.9.11 | 0.9.11 |
References
- https://github.com/xmldom/xmldom/security/advisories/GHSA-g53g-w8rj-fmg7 exploit vendor-advisory
- https://github.com/xmldom/xmldom/pull/1039 patch
- https://github.com/xmldom/xmldom/commit/73df6b8bdbd86f904b9e8c3ab9c49aa54ef2802e patch
- https://github.com/xmldom/xmldom/releases/tag/0.9.11
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2526808 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-83606 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- github.com product
- ENISA EUVD EUVD-2026-69216 third-party-advisory