GHSA-jp2q-39xq-3w4g · Severity: medium · Ecosystem: npm — Entity Expansion Limits Bypassed When Set to Zero Due to JavaScript Falsy Evaluation in fast-xml-parser
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.
Conclusion & alert: CVE-2026-33349 is rated Exploit Available (51.5/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.45%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.01% | 0.45% | +0.43% |
| 2 | 2026-03-25 | — | 0.01% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | [email protected] |
GHSA-jp2q-39xq-3w4g · Severity: medium · Ecosystem: npm — Entity Expansion Limits Bypassed When Set to Zero Due to JavaScript Falsy Evaluation in fast-xml-parser
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-33349 not yet assigned priority: Debian including 1 source packages (node-webfont), 4 status rows across 4 suites (bookworm, forky, sid, trixie): undetermined 4. | https://security-tracker.debian.org/tracker/CVE-2026-33349 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-33349 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| naturalintelligence | fast-xml-parser | >= 4.0.1, < 4.5.5 | cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:* |
| naturalintelligence | fast-xml-parser | >= 5.0.0, < 5.5.7 | cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:* |
| naturalintelligence | fast-xml-parser | 4.0.0 | cpe:2.3:a:naturalintelligence:fast-xml-parser:4.0.0:-:*:*:*:*:*:* |
| naturalintelligence | fast-xml-parser | 4.0.0 | cpe:2.3:a:naturalintelligence:fast-xml-parser:4.0.0:beta3:*:*:*:*:*:* |
| naturalintelligence | fast-xml-parser | 4.0.0 | cpe:2.3:a:naturalintelligence:fast-xml-parser:4.0.0:beta4:*:*:*:*:*:* |
| naturalintelligence | fast-xml-parser | 4.0.0 | cpe:2.3:a:naturalintelligence:fast-xml-parser:4.0.0:beta5:*:*:*:*:*:* |
| naturalintelligence | fast-xml-parser | 4.0.0 | cpe:2.3:a:naturalintelligence:fast-xml-parser:4.0.0:beta6:*:*:*:*:*:* |
| naturalintelligence | fast-xml-parser | 4.0.0 | cpe:2.3:a:naturalintelligence:fast-xml-parser:4.0.0:beta7:*:*:*:*:*:* |
| naturalintelligence | fast-xml-parser | 4.0.0 | cpe:2.3:a:naturalintelligence:fast-xml-parser:4.0.0:beta8:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/NaturalIntelligence/fast-xml-parser/commit/239b64aa1fc5c5455ddebbbb54a187eb68c9fdb7 | Patch |
| https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-jp2q-39xq-3w4g | Exploit Mitigation Vendor Advisory |