CVE-2026-83613
xmldom: @xmldom/xmldom: xmldom: Denial of Service due to quadratic-time attribute processing
Overview
Description
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom version 0.6.0 and earlier, DOMHandler.startElement in lib/dom-parser.js inserts every parsed attribute through setAttributeNode, while NamedNodeMap.setNamedItem in lib/dom.js calls the linear getNamedItem or getNamedItemNS lookup for each insertion. A well-formed element with many distinct attributes therefore requires quadratic comparisons during DOMParser.parseFromString() and can stall a Node.js event loop before application validation. This issue is fixed in @xmldom/xmldom versions 0.8.15 and 0.9.12; no fixed version is available for xmldom.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-407
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | @xmldom/xmldom | >=0.7.0, <0.8.15>=0.9.0, <0.9.12 | 0.8.150.9.12 |
| npm | xmldom | <=0.6.0 | No fix yet |
| Seal npm | @seal-security/xmldom | >=0.1.31-sp1-for-passport-saml, <0.1.31-sp999 | 0.1.31-sp999 |
| Seal npm | xmldom | >=0.1.31-sp0, <0.1.31-sp999 | 0.1.31-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 14 fixes
Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openshift4-ose-console | affected |
| 8 | openshift4-ose-console | affected |
| 9 | openshift4-ose-console | affected |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| gitlab-rails-ce-18-11 | 18.11.11-r2 | |
| gitlab-rails-ce-19-0 | 19.0.10-r0 | |
| gitlab-rails-ce-fips-19-0 | 19.0.9-r3 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | node-xmldom | affected |
| 12 | node-xmldom | affected |
| 13 | node-xmldom | affected |
| 14 | node-xmldom | 0.9.12-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-xmldom | affected |
minimos 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| logto | 1.44.0-r0 | |
| grist | 1.7.20-r0 | |
| n8n | 2.43.6-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-83613
- github.com https://github.com/xmldom/xmldom
- github.com https://github.com/xmldom/xmldom/commit/2c548f200cfec991cd5846627ef8f03542309213
- github.com https://github.com/xmldom/xmldom/commit/cfb09b5dbeb035fdfedc9f01e2bbaf226bf47cf3
- github.com https://github.com/xmldom/xmldom/pull/1071
- github.com https://github.com/xmldom/xmldom/pull/1072
- github.com https://github.com/xmldom/xmldom/releases/tag/0.8.15
- github.com https://github.com/xmldom/xmldom/releases/tag/0.9.12
- github.com https://github.com/xmldom/xmldom/security/advisories/GHSA-27p8-2357-5qqv
- github.com https://github.com/xmldom/xmldom/security/advisories/GHSA-8344-3jmq-59r6
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.