CVE-2026-41673: xmldom: Denial of service via uncontrolled recursion in XML serialization
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.
Security readout for executives and security teams
Plain-English summary
CVE-2026-41673 lets deeply nested XML data crash applications using vulnerable xmldom serialization code. The business impact is service disruption, not data theft. Risk is highest where internet-facing services parse or serialize attacker-controlled XML or DOM content.
Executive priority
Prioritize remediation for externally reachable services and ingestion pipelines processing XML. Treat as a high availability risk; schedule normal emergency handling only if critical services accept untrusted XML today.
Technical view
Affected xmldom code performs seven recursive traversals in lib/dom.js without a depth limit. A sufficiently deep DOM tree can trigger RangeError: Maximum call stack size exceeded and crash the application. Fixed @xmldom/xmldom releases are 0.8.13 and 0.9.10.
Likely exposure
Node.js or JavaScript applications using xmldom <=0.6.0, @xmldom/xmldom <0.8.13, or @xmldom/xmldom 0.9.0-0.9.9 are exposed, especially when XML or DOM content can be influenced remotely.
Exploitation context
The CVSS vector indicates network attackability, low complexity, no privileges, and no user interaction. The provided sources do not show known active exploitation, and KEV is false. Evidence supports denial of service only.
Researcher notes
Focus review on dependency reachability, not just package presence. The issue requires a deeply nested DOM reaching vulnerable serialization traversal. Sources name no confidentiality or integrity impact and no public exploitation evidence.
Mitigation direction
Upgrade @xmldom/xmldom to 0.8.13 or 0.9.10 where used.
Identify and address legacy xmldom <=0.6.0 per vendor guidance.
Reduce acceptance of deeply nested untrusted XML where feasible.
Use dependency management to prevent reintroduction of affected versions.
Validation and detection
Inventory direct and transitive dependencies for xmldom and @xmldom/xmldom versions.
Confirm resolved versions are @xmldom/xmldom 0.8.13, 0.9.10, or later.
Review code paths using DOMParser or XMLSerializer with untrusted input.
Verify production crash monitoring covers XML processing services.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-674: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-674 · source CWE mapping
Uncontrolled Recursion
Uncontrolled Recursion represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.