CVE-2026-33036: NaturalIntelligence fast-xml-parser · XML Entity Expansion
Affects NaturalIntelligence fast-xml-parserSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 7.5 High : upgrade to 5.5.6 soon.
Data as of 1 Nov 2026, 22:58 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.5.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 1 Nov 2026.
What to do
Upgrade NaturalIntelligence fast-xml-parser to 5.5.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| NaturalIntelligencefast-xml-parser | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-33036, organizations should immediately upgrade fast-xml-parser to version 5.5.6 or later, where the vulnerability is fixed. If upgrading is not immediately feasible, implement strict input validation and sanitization to reject XML inputs containing excessive numeric character references or suspicious entity expansions. Employ XML parsing configurations that disable or limit entity expansion features where possible. Monitor application logs and resource usage for unusual spikes in memory or CPU consumption that may indicate exploitation attempts. Consider deploying Web Application Firewalls (WAFs) with rules to detect and block XML entity expansion attacks. Additionally, conduct code reviews and dependency audits to identify and remediate usage of vulnerable fast-xml-parser versions across all projects. Educate developers and DevOps teams about secure XML parsing practices and the risks of entity expansion vulnerabilities. Finally, maintain up-to-date threat intelligence feeds to stay informed about any emerging exploits targeting this vulnerability.
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.
References
- github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-8gc5-j5rx-235r (opens in a new tab)
- github.com/NaturalIntelligence/fast-xml-parser/commit/bd26122c838e6a55e7d7ac49b4ccc01a49999a01 (opens in a new tab)
- github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.5.6 (opens in a new tab)