CVE-2026-41673: xmldom: Denial of service via uncontrolled recursion in XML serialization
Vulnerability summary
CVE-2026-41673 is a high (CVSS 8.7) Uncontrolled Recursion vulnerability in xmldom. EPSS estimates a 0.88% chance of exploitation in the next 30 days, higher than 58.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 07-05-2026PublishedVulnerability first disclosed.
- 28-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
10 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · WolfiEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · NpmEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.88%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
Increase +0.24 pp
From 0.64% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-674Uncontrolled RecursionThe product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
- CWE-776Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.
Affected systems
Chainguard18 products
- actions-runner< 2.334.0-r1
- arangodb-3.11< 3.11.14.3-r6
- gitlab-rails-ce-18.11< 18.11.6-r7
- gitlab-rails-ce-19.0< 19.0.5-r21
- gitlab-rails-ce-19.1< 19.1.3-r2
Wolfi3 products
- npm< 11.13.0-r1
- saf< 1.6.0-r0
- sqlpad< 7.5.7-r18
@xmldom1 product
- xmldom< 0.8.13 | ≥ 0.9.0, < 0.9.10
Debian1 product
- node-xmldomAll versions (No fix recorded) | < 0.9.10-1
Npm1 product
- xmldom≤ 0.6.0
Ubuntu1 product
- node-xmldomAll versions (No fix recorded)
Xmldom1 product
- xmldomxmldom <= 0.6.0 | @xmldom/xmldom >= 0.9.0, < 0.9.10 | @xmldom/xmldom < 0.8.13
7 vendors · 26 products
References
24 links- github.com/xmldom/xmldom/security/advisories/GHSA-2v35-w6hq-6mfwX Refsource CONFIRMREPORTAdvisoryWEB
- github.com/xmldom/xmldom/commit/17678a2a73ecbd1a2da90f3d47dc23da9cef81aaX Refsource MISCREPORTFIXWEB
- github.com/xmldom/xmldom/commit/291257493cb0eb6980eda83b162a9c4e6d7d2597X Refsource MISCREPORTFIXWEB
- github.com/xmldom/xmldom/commit/2d6d6916ed8a4c223db1f6d7560ab4544c465b0fX Refsource MISCREPORTFIXWEB
- github.com/xmldom/xmldom/commit/430357c7b6333108856e917bf2367afe5ceb6f8aX Refsource MISCREPORTFIXWEB
- github.com/xmldom/xmldom/commit/4845ef109221df0890825de2822fbe77afba3afeX Refsource MISCREPORTFIXWEB
- github.com/xmldom/xmldom/commit/8834218c85ac2a4d757b9587c9028e67c2f7b6c3X Refsource MISCREPORTFIXWEB
- github.com/xmldom/xmldom/commit/8b7cfd1491314abdc347261921d7334ff15f7112X Refsource MISCREPORTFIXWEB
- github.com/xmldom/xmldom/commit/b0620383abc1df067f3ce1014c43ae1bc1161eebX Refsource MISCREPORTFIXWEB
- github.com/xmldom/xmldom/commit/e6edcab6bef5bcdba0b220bb35442aa72f452b84X Refsource MISCREPORTFIXWEB
Show all 24 references
- github.com/xmldom/xmldomPACKAGE