CVE-2026-33349: fast-xml-parser: Entity Expansion Limits Bypassed When Set to Zero Due to JavaScript Falsy Evaluation
Vulnerability summary
CVE-2026-33349 is a medium (CVSS 5.9) vulnerability in naturalintelligence fast-xml-parser. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 45% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 24-03-2026PublishedVulnerability first disclosed.
- 25-03-2026Last modifiedVulnerability information updated.
Description
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. From version 4.0.0-beta.3 to before version 5.5.7, the DocTypeReader in fast-xml-parser uses JavaScript truthy checks to evaluate maxEntityCount and maxEntitySize configuration limits. When a developer explicitly sets either limit to 0 — intending to disallow all entities or restrict entity size to zero bytes — the falsy nature of 0 in JavaScript causes the guard conditions to short-circuit, completely bypassing the limits. An attacker who can supply XML input to such an application can trigger unbounded entity expansion, leading to memory exhaustion and denial of service. This issue has been patched in version 5.5.7.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.51%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.47% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundFast Xml Parser
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard31 products
- airflow-2All versions (No fix recorded)
- airflow-core-2All versions (No fix recorded)
- dbgate< 7.1.5-r0
- kibana-8.18All versions (No fix recorded)
- kibana-8.18-bitnamiAll versions (No fix recorded)
Wolfi7 products
- kubeflow-pipelines-frontend< 2.16.0-r10
- langfuse-3< 3.162.0-r1 | < 3.162.0-r0
- langfuse-3-worker< 3.163.0-r0
- prism< 5.14.3-r13
- renovate< 43.84.0-r1
Debian1 product
- node-webfontAll versions (No fix recorded)
Naturalintelligence1 product
- fast-xml-parser≥ 4.0.0-beta.3, < 5.5.7 | ≥ 4.0.1, < 4.5.5 | ≥ 5.0.0, < 5.5.7 | 4.0.0 | 4.0.0:beta3 | 4.0.0:beta4 | 4.0.0:beta5 | 4.0.0:beta6 | 4.0.0:beta7 | 4.0.0:beta8
Npm1 product
- fast-xml-parser≥ 4.0.0-beta.3, < 4.5.5 | ≥ 5.0.0, < 5.5.7
Ubuntu1 product
- node-webfontAll versions (No fix recorded)
6 vendors · 42 products
References
9 links- github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-jp2q-39xq-3w4gX Refsource CONFIRMREPORTAdvisoryWEBExploitMitigationVendor Advisory
- github.com/NaturalIntelligence/fast-xml-parser/commit/239b64aa1fc5c5455ddebbbb54a187eb68c9fdb7X Refsource MISCREPORTFIXWEBPatch