Skip to main content
VulnerabilityPublished

CVE-2026-33349: NaturalIntelligence fast-xml-parser · Improper Validation of Specified Quantity in Input

Affects NaturalIntelligence fast-xml-parserSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.9 Medium : upgrade to 5.5.7 when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.5.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade NaturalIntelligence fast-xml-parser to 5.5.7.

Affected software

ProductAffectedFixed in
NaturalIntelligencefast-xml-parserAffected
  • >=4.0.0-beta.3 <5.5.7
Fixed in
  • 5.5.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade fast-xml-parser to version 5.5.7 or later, where the issue is fixed by proper validation of maxEntityCount and maxEntitySize parameters without relying on truthy/falsy checks. Until upgrading is possible, developers should avoid setting maxEntityCount or maxEntitySize to zero; instead, set them to a positive integer that enforces strict limits on entity expansion. Additionally, application-level input validation can be implemented to detect and reject XML inputs containing excessive or recursive entity definitions before parsing. Employing runtime resource limits (e.g., memory quotas, process timeouts) on XML parsing operations can help mitigate the impact of potential DoS attempts. Monitoring and logging XML parsing errors and resource usage spikes can provide early detection of exploitation attempts. Finally, developers should review XML parsing configurations and ensure that entity expansion features are disabled or tightly controlled according to the application's security requirements.

Description

CVE-2026-33349 is a medium severity vulnerability in the fast-xml-parser library versions from 4.0.0-beta.3 up to before 5.5.7. The issue arises because the DocTypeReader component uses JavaScript truthy checks on maxEntityCount and maxEntitySize configuration parameters. When these limits are explicitly set to zero, intending to disallow XML entities or restrict their size, the falsy evaluation causes the limits to be bypassed. This allows an attacker supplying crafted XML input to trigger unbounded entity expansion, resulting in memory exhaustion and denial of service (DoS). No authentication or user interaction is required, and the vulnerability can be exploited remotely over the network.

References

Community reviews

Loading reviews…