{"id":"CVE-2026-73569","published":"2026-08-13T17:45:25Z","modified":"2026-08-13T18:40:13Z","title":"fast-xml-parser: Repeated DOCTYPE declarations reset entity expansion limits","vendor":"NaturalIntelligence","product":"fast-xml-parser","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36421,"provenance":"source"},"cwes":[{"id":"CWE-776","name":"Improper Restriction of Recursive Entity References in DTDs"}],"references":[{"url":"https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-8r6m-32jq-jx6q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NaturalIntelligence/fast-xml-parser/commit/4e546e03987662de5495d050b5fba26bea65383f","tags":["x_refsource_MISC"]},{"url":"https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.10.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"naturalintelligence","affectedVersions":[{"vendor":"NaturalIntelligence","product":"fast-xml-parser","versions":[">= 5.9.3, < 5.10.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-13T18:39:55.393516Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"fast-xml-parser","vulnerableRanges":[">=5.9.3, <5.10.1"],"patched":["5.10.1"],"from":["GHSA-8r6m-32jq-jx6q"],"provenance":"source"}],"summary":{"text":"The fast-xml-parser library (NaturalIntelligence), in its OrderedObjParser.js component from versions 5.9.3 through 5.10.1, lets repeated DOCTYPE declarations within a single XML document reset the entity-expansion limits on each declaration, so the limits never take effect as intended. An attacker who can get a crafted XML document parsed by the library, with no authentication or user interaction required over the network, can cause excessive CPU use, event-loop blocking, memory exhaustion, and process termination.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:11Z"},"euvd":{"id":"EUVD-2026-58184","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-naturalintelligence-fast-xml-parser-cve-2021-26920","parents":[{"from":"CVE-2026-25128","to":"CVE-2026-73569","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/xmlparser/OrderedObjParser.js"],"commits":["https://github.com/NaturalIntelligence/fast-xml-parser/commit/4e387f61c4a5cef792f6a2f42467013290bf95dc","https://github.com/NaturalIntelligence/fast-xml-parser/commit/4e546e03987662de5495d050b5fba26bea65383f"],"basis":"shared function","functions":["OrderedObjParser"]}]},{"from":"CVE-2026-26278","to":"CVE-2026-73569","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/xmlparser/OrderedObjParser.js"],"commits":["https://github.com/NaturalIntelligence/fast-xml-parser/commit/910dae5be2de2955e968558fadf6e8f74f117a77","https://github.com/NaturalIntelligence/fast-xml-parser/commit/4e546e03987662de5495d050b5fba26bea65383f"],"basis":"shared function","functions":["OrderedObjParser"]}]}],"packageHistory":[{"cve":"CVE-2026-33036","published":"2026-03-20","fixed":"5.5.6","kev":false},{"cve":"CVE-2026-33349","published":"2026-03-24","fixed":"5.5.7","kev":false},{"cve":"CVE-2026-41650","published":"2026-05-07","fixed":"5.7.0","kev":false},{"cve":"CVE-2026-73569","published":"2026-08-13","fixed":"5.10.1","kev":false},{"cve":"CVE-2026-126066","published":"2026-11-10","fixed":"5.12.0","kev":false,"link":{"from":"CVE-2026-73569","to":"CVE-2026-126066","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fast-xml-parser","fromFixed":"5.10.1","toFixed":"5.12.0","daysApart":89},{"kind":"same-code","provenance":"machine","files":["src/xmlparser/OrderedObjParser.js"],"commits":["https://github.com/NaturalIntelligence/fast-xml-parser/commit/0c3659348364959da62954b73728fb3bd05ebcb4","https://github.com/NaturalIntelligence/fast-xml-parser/commit/4e546e03987662de5495d050b5fba26bea65383f"],"basis":"shared file"}]}}],"package":"npm:fast-xml-parser"}}