Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted XML to parser endpoint
-
ExploitMatch configured stopNodes element
-
ExecutionTrigger unbounded rescan of unterminated '<a ' fragments
-
ImpactExhaust CPU and block event loop
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
|
| Exploitation Conditions | Requires the non-default stopNodes option to be configured on a parsed element AND the service to parse attacker-supplied/untrusted XML; the malicious input must contain many '<a ' (or similar) fragments with no closing '>' anywhere after, inside a matched stop node. LIMITING FACTORS: stopNodes is off by default, so default configurations are not affected; impact is availability-only (event-loop stall, not a crash or data exposure), rated A:L; and AC:H reflects that both the non-default configuration and the specifically-shaped unterminated payload must align. No authentication is required (PR:N, unauthenticated remote attackers). |
| Impact | All signals point to a genuinely low-priority issue. The CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L, 3.7 Low) describes a network-reachable but high-complexity, availability-only flaw with no confidentiality or integrity impact - at worst a temporarily blocked Node.js event loop, not a crash or RCE. The vuln.today decision label is 'monitor', the weakest urgency tier, and the finding is explicitly a static-analysis result that was never benchmarked (author-stated confidence 0.5). No KEV listing and no EPSS score were provided, and no working exploit is referenced: exploitation status is 'no public exploit identified at time of analysis'. The one material constraint, which keeps real-world risk well below even the Low score, is that the bug only triggers when the non-default stopNodes option is configured - most deployments of fast-xml-parser never enable it. MISSING DATA to note: EPSS probability and KEV status are absent from the input (treat as not-exploited rather than confirmed-safe), and the O(n²)/~100KB→~10⁹-ops impact figures are analytical estimates, not measured, so the actual event-loop stall time is unverified. Bottom line: a high-download library but a low-real-risk, config-gated DoS - patch during normal maintenance, not an emergency. |
| Exploit ScenarioDerived | A Node.js service that parses untrusted XML with the non-default stopNodes option enabled receives a crafted payload shaped like '<stop>' followed by many repeated '<a ' fragments with no closing '>' anywhere after. readStopNodeData() rescans the entire remaining input from every '<', producing O(n²) CPU work (a ~100KB payload is estimated at ~10⁹ character operations, roughly a second or more of blocked event loop) before the parser throws. No working proof-of-concept has been benchmarked - this is a static-analysis finding (confidence 0.5) with only a reproduction recipe, consistent with the AC:H rating. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Quadratic CPU consumption in fast-xml-parser's stop-node scanning path allows unauthenticated remote attackers to stall a Node.js event loop when applications parse attacker-supplied XML with the non-default stopNodes option enabled. Versions up to and including 5.11.2 are affected; a malicious stop-node body containing many '<a ' fragments with no subsequent '>' forces repeated full scans of the remaining input, producing O(n²) work before the parser finally throws. Impact is availability-only (CVSS 3.1 3.7, A:L) and limited to configurations that opt into stopNodes; the finding originated as a static-analysis result with a public PoC sketch that has not been benchmarked as working exploit code, and no active exploitation has been reported (priority label: monitor).
RemediationAI
Vendor-released patch: upgrade fast-xml-parser to 5.12.0, which contains commit 0c3659348364959da62954b73728fb3bd05ebcb4 caching the next '>' position and bounding the lenient rescan in readStopNodeData() (advisory: https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-474x-hrwr-fgx4). If upgrading is not immediately possible, the direct workaround is to avoid configuring stopNodes on elements that receive untrusted input, since the quadratic path is only reachable through that non-default option; disabling stopNodes for attacker-influenced documents restores linear behavior at the cost of losing the raw-inner-content capture that stopNodes provides. Services that must keep stopNodes enabled should restrict acceptance of attacker-supplied XML or cap request/body size at a layer in front of the parser, accepting that size limits raise the payload cost needed to stall the event loop but do not eliminate the quadratic scaling once such a payload is accepted.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
fast-xml-parser is an npm XML parsing library (CWE-407, inefficient algorithmic complexity). In OrderedObjParser.js, parseXml() invokes readStopNodeData() once a configured stop node opens; that routine calls readTagExp() for every non-special '<' character. The underlying tagExpWithClosingIndex() helper scans to end-of-input and returns undefined when no closing '>' exists, and crucially the caller does not advance the index on failure - so each subsequent '<' repeats the identical full scan, yielding quadratic cost. The main parse loop throws immediately on the same failure; only the stop-node path retries, which is why the non-default stopNodes option is the sole prerequisite. The upstream commit 0c3659348364959da62954b73728fb3bd05ebcb4 fixes this by caching the next '>' index and switching to a lenient '<'-based scan after the first failed quote-aware tag scan, returning early when no '>' remains. CPE identifies the affected package as pkg:npm/fast-xml-parser.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Network-reachable and unauthenticated (AV:N/PR:N), but gated by the non-default stopNodes config plus a specifically-shaped payload (AC:H), causing only partial CPU-exhaustion DoS (A:L; C/I:N).
Primary rating from Vendor (https://github.com/NaturalIntelligence/fast-xml-parser).
CVSS VectorVendor: https://github.com/NaturalIntelligence/fast-xml-parser
DescriptionCVE.org
Summary
With the non-default stopNodes option, a stop node's body with many "<a " fragments and no closing ">" anywhere after makes readStopNodeData() rescan the entire remaining input from every "<". The failed lookahead is neither cached nor bounded, so n fragments cost O(n²) before the parser throws. Availability-only (CPU exhaustion), needs the non-default stopNodes option - not benchmarked yet, see Proof of Concept.
Details
CWE-407 - Inefficient Algorithmic Complexity
Code
OrderedObjParser.js:520-parseXml()callsreadStopNodeData()after a matching stop node opensOrderedObjParser.js:810- callsreadTagExp()for every non-special<OrderedObjParser.js:688-722-tagExpWithClosingIndex()scans to end-of-input and returnsundefinedwhen no>existsOrderedObjParser.js:812-818- on failure,iisn't advanced, so the next<repeats the same full scanOrderedObjParser.js:423- the main parse loop throws immediately on the same failure; only the stop-node path retries
Root cause: a failed closing-> lookahead is neither cached nor bounded - n copies of <a with no later > means n scans over the remaining input, O(n²) work, before it finally throws.
Fix
- Throw immediately in
readStopNodeData()whenreadTagExp()returnsundefined - Or break the loop on the first failed scan
- Or find the next
>once and reuse/bound that result - Add a test asserting near-linear scaling when payload size doubles
Proof of concept
Not benchmarked - static-analysis finding, confidence 0.5.
To confirm: configure stopNodes matching a root element. Build input as '<stop>' + '<a '.repeat(n). Time parse() until it throws Unexpected end of <tag>. Start around n=10,000 and double it - quadratic should show ~4x time per doubling, linear ~2x. Control: same input with a > present, or stopNodes unset.
Impact
CPU-exhaustion DoS in Node.js services parsing untrusted XML with stopNodes enabled. A ~100KB payload is estimated at ~10⁹ character operations (roughly a second or more of blocked event loop) - analytical estimate, not a benchmark. No confidentiality/integrity impact. CVSS 3.1: AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L (3.7, Low).
Blast Radius
ecosystem impact- 14,793 npm packages depend on fast-xml-parser (2,993 direct, 11,904 indirect)
Ecosystem-wide dependent count for version 5.12.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-122845
GHSA-474x-hrwr-fgx4
NVD
CVE.org
EPSS
VulDB
Exploit-DB