xmldom: Denial of service via uncontrolled recursion in XML serialization
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 3 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-674.
Summary
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer` module. In @xmldom/xmldom prior to versions 0.9.10 and 0.8.13 and xmldom version 0.6.0 and prior, seven recursive traversals in lib/dom.js operate without a depth limit. A sufficiently deeply nested DOM tree causes a RangeError: Maximum call stack size exceeded, crashing the application. This issue has been patched in versions @xmldom/xmldom versions 0.9.10 and 0.8.13.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| xmldom | xmldom | xmldom <= 0.6.0; @xmldom/xmldom >= 0.9.0, < 0.9.10; @xmldom/xmldom < 0.8.13 | — | No fix listed | CNA |
| — | @xmldom/xmldom (npm) | before 0.8.13 | 0.8.13 | Patch available | GHSA-2v35-w6hq-6mfw |
| — | @xmldom/xmldom (npm) | 0.9.0 to before 0.9.10 | 0.9.10 | Patch available | GHSA-2v35-w6hq-6mfw |
| — | xmldom (npm) | up to 0.6.0 | — | No fix listed | GHSA-2v35-w6hq-6mfw |
- xmldom Vendorxmldom Affected xmldom <= 0.6.0; @xmldom/xmldom >= 0.9.0, < 0.9.10; @xmldom/xmldom < 0.8.13 Fixed in — No fix listed CNA
- @xmldom/xmldom (npm) Vendor— Affected before 0.8.13 Fixed in 0.8.13 Patch available GHSA-2v35-w6hq-6mfw
- @xmldom/xmldom (npm) Vendor— Affected 0.9.0 to before 0.9.10 Fixed in 0.9.10 Patch available GHSA-2v35-w6hq-6mfw
- xmldom (npm) Vendor— Affected up to 0.6.0 Fixed in — No fix listed GHSA-2v35-w6hq-6mfw
Remediation
- Fix · GHSA-2v35-w6hq-6mfw @xmldom/xmldom (npm) Fixed in 0.8.13 Advisory →
- Fix · GHSA-2v35-w6hq-6mfw @xmldom/xmldom (npm) Fixed in 0.9.10 Advisory →
Red Hat 2 advisories
- RHSA-2026:60520 Released 2026-08-27 · Red Hat rating CriticalRHOAI 3.4.4 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9, registry.redhat.io/rhoai/odh-built-in-detector-rhel9 +47
- RHSA-2026:26234 Released 2026-06-16 · Red Hat rating ImportantRed Hat Developer Hub 1.9.5 release.
- Red Hat Developer Hub 1.9 registry.redhat.io/rhdh/rhdh-hub-rhel9, registry.redhat.io/rhdh/rhdh-rhel9-operator
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of Podman Desktop | Affected | No fix yet |
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
| Self-service automation portal 2 | Affected | No fix yet |
| Red Hat Developer Hub 1.9 | Fixed | RHSA-2026:26234 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:60520 |
Not affected: 5 products
- Red Hat Developer Hub 1.9
- Red Hat Enterprise Linux 8
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41673
- 2026-10-03 Alias added: GHSA-2v35-w6hq-6mfw
References
Other 13
- https://github.com/xmldom/xmldom/security/advisories/GHSA-2v35-w6hq-6mfw
- https://github.com/xmldom/xmldom/commit/17678a2a73ecbd1a2da90f3d47dc23da9cef81aa
- https://github.com/xmldom/xmldom/commit/291257493cb0eb6980eda83b162a9c4e6d7d2597
- https://github.com/xmldom/xmldom/commit/2d6d6916ed8a4c223db1f6d7560ab4544c465b0f
- https://github.com/xmldom/xmldom/commit/430357c7b6333108856e917bf2367afe5ceb6f8a
- https://github.com/xmldom/xmldom/commit/4845ef109221df0890825de2822fbe77afba3afe
- https://github.com/xmldom/xmldom/commit/8834218c85ac2a4d757b9587c9028e67c2f7b6c3
- https://github.com/xmldom/xmldom/commit/8b7cfd1491314abdc347261921d7334ff15f7112
- https://github.com/xmldom/xmldom/commit/b0620383abc1df067f3ce1014c43ae1bc1161eeb
- https://github.com/xmldom/xmldom/commit/e6edcab6bef5bcdba0b220bb35442aa72f452b84
- https://github.com/xmldom/xmldom/releases/tag/0.8.13
- https://github.com/xmldom/xmldom/releases/tag/0.9.10
- https://github.com/xmldom/xmldom
More xmldom vulnerabilities
- TI-2022-18728 xmldom allows multiple root nodes in a DOM CVSS 3.1CRITICAL 9.8
- TI-2026-57717 xmldom: requireWellFormed DocType publicId/systemId validation is bypassable via an embedded line terminator CVSS 4.0HIGH 8.7
- TI-2026-57716 xmldom: requireWellFormed element/attribute name validation is bypassable via an embedded line terminator CVSS 4.0HIGH 8.7
- TI-2026-57715 xmldom: Processing Instruction Target Injection Bypasses requireWellFormed CVSS 4.0HIGH 8.7
- TI-2026-57714 xmldom: Quadratic-memory consumption CVSS 4.0HIGH 8.7
- TI-2026-57712 xmldom: Quadratic-time attribute deduplication CVSS 4.0HIGH 8.7
Sources
- CVE-2026-41673 · CVE Program
- CVE-2026-41673 · NVD
- FIRST EPSS
- GHSA-2v35-w6hq-6mfw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-41673 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences