Skip to main content
← All vulnerabilities
CVE-2026-73569GHSA-8R6M-32JQ-JX6Q

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • NaturalIntelligence fast-xml-parser

    From 5.9.3 · fixed in 5.10.1

  • fast-xml-parsernpm

    From 5.9.3 · fixed in 5.10.1

References 3

GitHub · NaturalIntelligence/fast-xml-parser