Node xmldom: From 0.9.0 until 0.9.12, the shared reg() builder in lib/grammar.js compiles the anchored QName_exact
Affects node-xmldomSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 0.9.12 soon.
Data as of 30 Nov 2026, 18:37 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.9.12
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade @xmldom/xmldom to 0.9.12.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 20.04 LTSnode-xmldompkg:deb/ubuntu/node-xmldom?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSnode-xmldompkg:deb/ubuntu/node-xmldom?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSnode-xmldompkg:deb/ubuntu/node-xmldom?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 26.10node-xmldompkg:deb/ubuntu/node-xmldom?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSnode-xmldompkg:deb/ubuntu/node-xmldom?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
npm@xmldom/xmldompkg:npm/%40xmldom/xmldomOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to @xmldom/xmldom version 0.9.12 or later, where this issue is fixed. No other mitigation or temporary workaround is indicated.
Description
The node-xmldom library versions from 0.9.0 up to 0.9.12 contain a vulnerability in the shared reg() builder in lib/grammar.js. This builder compiles the anchored QName_exact validator with the multiline flag, causing ^ and $ anchors to validate only one line instead of the entire XML name. As a result, certain XML creation functions accept malformed XML names that include line terminators, potentially injecting markup when serialized. This issue is fixed in version 0.9.12.