XML Entity Expansion in fast-xml-parser - CVE-2026-73569
Published: November 4, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through excessive CPU consumption, event-loop blocking, memory exhaustion, or process termination.
The vulnerability exists due to improper enforcement of XML entity expansion limits in fast-xml-parser and the addInputEntities() function of @nodable/entities when processing multiple DOCTYPE declarations within a single XML document. A remote attacker can supply a crafted XML document containing repeated DOCTYPE declarations to reset the maxTotalExpansions and maxExpandedLength counters during parsing, exceed the configured limits, and cause a denial of service.