Skip to content
OpenAdvisories
High · 7.5 CVE-2026-33036 EUVD-2026-13573GHSA-8gc5-j5rx-235r

fast-xml-parser affected by numeric entity expansion bypassing all entity expansion limits (incomplete fix for CVE-2026-26278)

Published Mar 20, 2026 · Updated Mar 25, 2026 · Assigned by GitHub_M

Description

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 A 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.

Affected products

VendorProductAffectedFixed
NaturalIntelligence fast-xml-parser >= 4.0.0-beta.3, < 5.5.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-webfont No fix yet —
Debian 13 node-webfont No fix yet —
Debian 12 node-webfont No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-webfont No fix yet —
Ubuntu 26.04 LTS node-webfont No fix yet —
Ubuntu 25.10 node-webfont No fix yet —
Ubuntu 24.04 LTS node-webfont No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed heroic-games-launcher 2.20.1-4.1 openSUSE-SU-2026:10462-1
openSUSE Tumbleweed velociraptor 0.7.0.4.git185.a5708584-2.1 openSUSE-SU-2026:11126-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling jitsucom-jitsu-console 2.11.0-r17 —
Wolfi rolling kubeflow-pipelines-frontend 2.16.0-r9 —
Wolfi rolling prism 5.14.3-r12 —
Wolfi rolling renovate 43.84.0-r1 —
Wolfi rolling saf 1.6.0-r0 —
Wolfi rolling tileserver-gl 5.5.0-r11 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm fast-xml-parser >= 5.0.0, < 5.5.6 5.5.6 GHSA-8gc5-j5rx-235r
npm fast-xml-parser >= 4.0.0-beta.3, < 4.5.5 4.5.5 GHSA-8gc5-j5rx-235r

Advisories 3

References