← CVE Intelligence

CVE-2026-41673

xmldom: Denial of service via uncontrolled recursion in XML serialization PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
xmldom / xmldomaffected xmldom <= 0.6.0; affected @xmldom/xmldom >= 0.9.0, < 0.9.10; affected @xmldom/xmldom < 0.8.13

CWE

CWE-674

References

ADP enrichment

CISA-ADP

No English description supplied.

redhat-SADP

A flaw was found in the `xmldom` library, a JavaScript module for parsing XML documents. An attacker could exploit this vulnerability by providing a specially crafted, deeply nested XML document. This could lead to a Denial of Service (DoS) by causing the application to crash due to excessive recursion.