CVE-2026-83606
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@xmldom/xmldomnpm | >= 0.9.0-beta.9, < 0.9.11 | 0.9.11 |
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-g53g-w8rj-fmg7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-83606ghsaADVISORY
- github.com/xmldom/xmldom/commit/73df6b8bdbd86f904b9e8c3ab9c49aa54ef2802envdWEB
- github.com/xmldom/xmldom/pull/1039nvdWEB
- github.com/xmldom/xmldom/releases/tag/0.9.11nvdWEB
- github.com/xmldom/xmldom/security/advisories/GHSA-g53g-w8rj-fmg7nvdWEB
News mentions
1- Xmldom npm Package: Fifteen Parsing and Serialization Vulnerabilities Disclosed TogetherVypr Intelligence · Sep 1, 2026