{"id":"CVE-2026-33036","published":"2026-03-20T05:17:03Z","modified":"2026-03-25T13:57:58Z","title":"fast-xml-parser affected by numeric entity expansion bypassing all entity expansion limits (incomplete fix for…","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. Versions 4.0.0-beta.3 through 5.5.5 contain a bypass vulnerability where numeric character references (&#NNN;, &#xHH;) and standard XML entities completely evade the entity expansion limits (e.g., maxTotalExpansions, maxExpandedLength) added to fix CVE-2026-26278, enabling XML entity expansion Denial of Service. The root cause is that replaceEntitiesValue() in OrderedObjParser.js only enforces expansion counting on DOCTYPE-defined entities while the lastEntities loop handling numeric/standard entities performs no counting at all. An attacker supplying 1M numeric entity references like &#65; can force ~147MB of memory allocation and heavy CPU usage, potentially crashing the process—even when developers have configured strict limits. This issue has been fixed in version 5.5.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00654,"percentile":0.52288,"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-8gc5-j5rx-235r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NaturalIntelligence/fast-xml-parser/commit/bd26122c838e6a55e7d7ac49b4ccc01a49999a01","tags":["x_refsource_MISC"]},{"url":"https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.5.6","tags":["x_refsource_MISC"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.46},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"naturalintelligence","affectedVersions":[{"vendor":"NaturalIntelligence","product":"fast-xml-parser","versions":[">= 4.0.0-beta.3, < 5.5.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-25T13:57:14.886976Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"fast-xml-parser","vulnerableRanges":[">=5.0.0, <5.5.6",">=4.0.0-beta.3, <4.5.5"],"patched":["5.5.6","4.5.5"],"from":["GHSA-8gc5-j5rx-235r"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-13573","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-25896","published":"2026-02-20","fixed":"5.3.5","kev":false},{"cve":"CVE-2026-26278","published":"2026-02-19","fixed":"5.3.6","kev":false},{"cve":"CVE-2026-27942","published":"2026-02-26","fixed":"5.3.8","kev":false,"link":{"from":"CVE-2026-27942","to":"CVE-2026-33036","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fast-xml-parser","fromFixed":"5.3.8","toFixed":"5.5.6","daysApart":22},{"kind":"version-step","provenance":"source","package":"npm:fast-xml-parser","fromFixed":"4.5.4","toFixed":"4.5.5","daysApart":22}]}},{"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,"link":{"from":"CVE-2026-33036","to":"CVE-2026-33349","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fast-xml-parser","fromFixed":"5.5.6","toFixed":"5.5.7","daysApart":4},{"kind":"same-code","provenance":"machine","files":["src/xmlparser/OrderedObjParser.js"],"commits":["https://github.com/NaturalIntelligence/fast-xml-parser/commit/bd26122c838e6a55e7d7ac49b4ccc01a49999a01","https://github.com/NaturalIntelligence/fast-xml-parser/commit/239b64aa1fc5c5455ddebbbb54a187eb68c9fdb7","https://github.com/NaturalIntelligence/fast-xml-parser/commit/88d0936a23dabe51bfbf42255e2ce912dfee2221"],"basis":"shared file"}]}},{"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}],"package":"npm:fast-xml-parser"}}