CVE-2026-33036
Naturalintelligence Fast-Xml-Parser 4.0.1 – 5.5.6
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-33036 is a high-severity XML Entity Expansion (CWE-776) vulnerability in Naturalintelligence Fast-Xml-Parser. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 44% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to CM-6 (Configuration Settings) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-33036 is a vulnerability in the fast-xml-parser JavaScript library, affecting versions 4.0.0-beta.3 through 5.5.5. The issue allows a bypass of entity expansion limits, such as maxTotalExpansions and maxExpandedLength, which were implemented to address CVE-2026-26278. Specifically, numeric character references like &#NNN; or &#xHH; and standard XML entities evade these limits because the replaceEntitiesValue() function in OrderedObjParser.js only enforces expansion counting for DOCTYPE-defined entities, while the lastEntities loop handling numeric and standard entities performs no counting. This results in XML entity expansion denial of service (DoS), with a CVSS v3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) and mapping to CWE-776 (Insufficiently Controlled Recursive Entity Expansion, or XXE).
An attacker can exploit this vulnerability by supplying malicious XML input containing a large number of numeric entity references, such as 1 million instances of A, to any application using the affected fast-xml-parser versions for XML processing from JavaScript objects. No special privileges are required, and exploitation occurs over the network with low complexity. Successful attacks force approximately 147MB of memory allocation and heavy CPU usage, potentially crashing the process even when developers have configured strict entity expansion limits.
The vulnerability has been fixed in fast-xml-parser version 5.5.6, as detailed in the project's security advisory (GHSA-8gc5-j5rx-235r), release notes, and the fixing commit (bd26122c838e6a55e7d7ac49b4ccc01a49999a01). Security practitioners should update to version 5.5.6 or later and review applications parsing untrusted XML input for exposure.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-13573
Vulnerability Data
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.,…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Secure configuration settings can disable DTD processing or cap entity expansion in XML parsers.
Input validation can enforce limits on XML entity expansion and recursion depth before parsing occurs.
Least-functionality configuration can prohibit unsafe DTD features or external entity resolution.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly prevent introduction of improper recursive entity handling in XML code.
Hardened configuration baselines can disable or limit DTD entity expansion in XML parsers.
Identifying and recording vulnerabilities can discover XML entity expansion flaws before exploitation.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect and block XML entity-expansion vulnerabilities before deployment.
Training developers in secure XML handling can teach them to disable DTD processing or limit entity expansion, preventing some instances, but this is a specific technical configuration that requires correct implementation and the practice is fallible, leaving most instances unaffected by training alone.
Secure coding standards directly require disabling or restricting recursive entity references in XML parsers.
A.8.30 carries its effect through the secure-design, coding and testing practices (8.25–8.29) its contract requires of the supplier, which reduce ordinary software implementation weaknesses like insecure XML parsing configuration in delivered code, but the practices are fallible and the clause depends on those other controls being properly implemented, so only a minority of instances are prevented.
A.8.8's reach is DISCLOSURE — it finds XEE only where a vendor-published advisory exists for the XML parsing library or component, and XEE does surface as CVEs (CVE-2008-3281, CVE-2011-3288, CVE-2011-1755, CVE-2009-1955, CVE-2003-1564), so it is not `none`; but the bulk of XEE instances live in first-party custom XML processing code, which A.8.8's disclosure-based programme does not read, capping the rung at `partial`.
Configuration management defines and enforces secure baselines, but it does not itself parse or modify XML processing logic to remove recursive entity expansion flaws that already exist in deployed software.