{"id":"CVE-2026-26278","published":"2026-02-19T19:40:55Z","modified":"2026-09-10T12:05:09Z","title":"fast-xml-parser affected by DoS through entity expansion in DOCTYPE (no expansion limit)","vendor":"NaturalIntelligence","product":"fast-xml-parser","tier":"tail","description":{"text":"fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C++ based libraries and no callback. In versions 4.1.3 through 5.3.5, the XML parser can be forced to do an unlimited amount of entity expansion. With a very small XML input, it’s possible to make the parser spend seconds or even minutes processing a single request, effectively freezing the application. Version 5.3.6 fixes the issue. As a workaround, avoid using DOCTYPE parsing by `processEntities: false` option.","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.01153,"percentile":0.66746,"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-jmr7-xgp7-cmfj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NaturalIntelligence/fast-xml-parser/commit/910dae5be2de2955e968558fadf6e8f74f117a77","tags":["x_refsource_MISC"]},{"url":"https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.3.6","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-26278","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2441120","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26278.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:7110","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:7128","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6174","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6802","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:41941","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:41944","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:40984","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:51349","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":13.35},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"naturalintelligence","affectedVersions":[{"vendor":"NaturalIntelligence","product":"fast-xml-parser","versions":[">= 5.0.0, < 5.3.6",">= 4.1.3, < 4.5.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-19T20:58:40.378859Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"fast-xml-parser","vulnerableRanges":[">=4.1.3, <4.5.4",">=5.0.0, <5.3.6"],"patched":["4.5.4","5.3.6"],"from":["GHSA-jmr7-xgp7-cmfj"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-7970","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-naturalintelligence-fast-xml-parser-cve-2021-26920","parents":[{"from":"CVE-2026-25896","to":"CVE-2026-26278","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fast-xml-parser","fromFixed":"5.3.5","toFixed":"5.3.6","daysApart":-1},{"kind":"same-code","provenance":"machine","files":["src/xmlparser/DocTypeReader.js"],"commits":["https://github.com/NaturalIntelligence/fast-xml-parser/commit/943ef0eb1b2d3284e72dd74f44a042ee9f07026e","https://github.com/NaturalIntelligence/fast-xml-parser/commit/ddcd0acf26ddd682cb0dc15a2bd6aa3b96bb1e69","https://github.com/NaturalIntelligence/fast-xml-parser/commit/910dae5be2de2955e968558fadf6e8f74f117a77"],"basis":"shared function","functions":["DocTypeReader"]}]},{"from":"CVE-2023-26920","to":"CVE-2026-26278","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/2b032a4f799c63d83991e4f992f1c68e4dd05804","https://github.com/NaturalIntelligence/fast-xml-parser/commit/910dae5be2de2955e968558fadf6e8f74f117a77"],"basis":"shared function","functions":["buildAttributesMap"]}]},{"from":"CVE-2026-25128","to":"CVE-2026-26278","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/910dae5be2de2955e968558fadf6e8f74f117a77"],"basis":"shared function","functions":["OrderedObjParser","parseValue"]}]}],"children":[{"from":"CVE-2026-26278","to":"CVE-2026-33349","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/fxp.d.ts","src/xmlparser/DocTypeReader.js","src/xmlparser/OptionsBuilder.js"],"commits":["https://github.com/NaturalIntelligence/fast-xml-parser/commit/910dae5be2de2955e968558fadf6e8f74f117a77","https://github.com/NaturalIntelligence/fast-xml-parser/commit/239b64aa1fc5c5455ddebbbb54a187eb68c9fdb7","https://github.com/NaturalIntelligence/fast-xml-parser/commit/88d0936a23dabe51bfbf42255e2ce912dfee2221"],"basis":"shared function","functions":["DocTypeReader","buildAttributesMap"]}]},{"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-2024-41818","published":"2024-07-29","fixed":"4.4.1","kev":false,"link":{"from":"CVE-2024-41818","to":"CVE-2026-26278","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fast-xml-parser","fromFixed":"4.4.1","toFixed":"4.5.4","daysApart":570}]}},{"cve":"CVE-2026-25128","published":"2026-01-30","fixed":"5.3.4","kev":false},{"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-26278","to":"CVE-2026-27942","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fast-xml-parser","fromFixed":"5.3.6","toFixed":"5.3.8","daysApart":7}]}},{"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}],"package":"npm:fast-xml-parser"}}