SecurityContext

CVE-2026-33349: fast-xml-parser - Denial of Service

  • Cve: CVE-2026-33349
  • Name: fast-xml-parser - Denial of Service
  • 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.
  • Impact: Attackers can cause memory exhaustion and denial of service by triggering unbounded entity expansion.
  • Remediation: Upgrade to version 5.5.7 or later.
  • Vulnerability type: xml_external_entity_injection
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.9
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.0051
  • Epss percentile: 0.4439
  • Assignee: [email protected]
  • Published at: 2026-03-24T20:16:29Z
  • Age in days: 245
  • Modified at: 2026-06-17T10:37:21Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-33349
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-1284Improper Validation of Specified Quantity in Input

Public exploits

UrlSourceAdded date
https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-jp2q-39xq-3w4gnvd2026-03-24

References

UrlSourceTags
https://github.com/NaturalIntelligence/fast-xml-parser/commit/239b64aa1fc5c5455ddebbbb54a187eb68c9fdb7nvdPatch
https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-jp2q-39xq-3w4gnvdExploit, Mitigation, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
naturalintelligence:fast-xml-parser= 4.0.0 beta8; = 4.0.0 beta7; = 4.0.0 beta6; >= 5.0.0, < 5.5.7; = 4.0.0 beta5; >= 4.0.1, < 4.5.5; = 4.0.0; = 4.0.0 beta3; = 4.0.0 beta4nonvd/v1/products/naturalintelligence/fast-xml-parser

Projects

RepositoryLink kindsIndexedUrl
NaturalIntelligence/fast-xml-parsercommit, fix, package, security_advisoryyes/v1/repositories/NaturalIntelligence/fast-xml-parser

Index

  • Repositories: 962
  • Repositories high signal: 453
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-03-24
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts