CVE-2026-73569

fast-xml-parser: Repeated DOCTYPE declarations reset entity expansion limits

Published Aug 13, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. From 5.9.3 until 5.10.1, src/xmlparser/OrderedObjParser.js processes multiple DOCTYPE declarations within a single XML document and passes each declaration's entities through addInputEntities(). addInputEntities() resets maxTotalExpansions and maxExpandedLength every time it is called, allowing additional DOCTYPE declarations to repeatedly reset the configured entity-expansion limits during one parse operation. A crafted XML document can then cause excessive CPU use, event-loop blocking, memory exhaustion, and process termination. This issue is fixed in version 5.10.1.

Analysis

AI-generated

Technical impact

The vulnerability allows multiple DOCTYPE declarations in a single XML document to repeatedly reset the parser’s entity‑expansion limits. When a crafted XML payload is processed, the parser consumes additional CPU cycles, blocks the event loop, exhausts memory, and ultimately terminates the process, which can bring an application to a halt. The danger is that an attacker who can supply XML to the parser can directly trigger a denial of service.

Affected Systems

Applications that depend on NaturalIntelligence fast-xml-parser versions 5.9.3 through 5.10.1 are vulnerable. Versions prior to 5.9.3 and 5.10.1 or later are not affected because the issue was addressed in release 5.10.1.

Risk and Exploitability

The CVSS score of 8.7 classifies this flaw as a high‑severity denial‑of‑service vulnerability. The EPSS score is not available and the flaw is not listed in CISA KEV, indicating no known public exploits to date. The likely attack vector is remote: an attacker can send a specially crafted XML document to an application that accepts untrusted XML data, immediately depleting system resources and causing an outage. Due to the high impact and the potential for broad exposure, the risk is significant for any product that processes XML input using this library without additional safeguards.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update fast-xml-parser to version 5.10.1 or later.
  • Validate or reject XML input that contains multiple DOCTYPE declarations before invoking the parser.
  • Implement application‑level resource limits or request throttling to mitigate the effects of a denial‑of‑service attack.

Generated by OpenCVE AI on August 13, 2026 at 19:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-8r6m-32jq-jx6q fast-xml-parser: Repeated DOCTYPE declarations reset entity expansion limits
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Naturalintelligence
Naturalintelligence fast-xml-parser
Vendors & Products Naturalintelligence
Naturalintelligence fast-xml-parser
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. From 5.9.3 until 5.10.1, src/xmlparser/OrderedObjParser.js processes multiple DOCTYPE declarations within a single XML document and passes each declaration's entities through addInputEntities(). addInputEntities() resets maxTotalExpansions and maxExpandedLength every time it is called, allowing additional DOCTYPE declarations to repeatedly reset the configured entity-expansion limits during one parse operation. A crafted XML document can then cause excessive CPU use, event-loop blocking, memory exhaustion, and process termination. This issue is fixed in version 5.10.1.
Title fast-xml-parser: Repeated DOCTYPE declarations reset entity expansion limits
Weaknesses CWE-776
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-776

    Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2026, 6:40 PM
Reserved
Aug 12, 2026, 8:53 PM
Status
Deferred
Published
Aug 13, 2026, 6:18 PM
Modified
Oct 24, 2026, 3:10 PM
Severity
Important
Public date
Aug 13, 2026, 5:45 PM