CVE-2026-126066: fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags
Published 2026-11-10 · Updated 2026-11-10 · Also known as GHSA-474x-hrwr-fgx4
Summary
The fast-xml-parser library contains an algorithmic complexity flaw that causes excessive CPU consumption when processing specific malformed XML input. Developers using the library with the non-default stopNodes option should upgrade to version 5.12.0 or later.
Who is affected
This vulnerability affects Node.js applications that process untrusted XML data while the non-default stopNodes configuration is enabled. An attacker can trigger a denial-of-service condition by providing a malicious payload containing unterminated tag fragments, forcing the parser into quadratic execution time that blocks the event loop.
Exploitability
The vulnerability is rated as Low severity with a base score of 3.7, requiring high attack complexity to execute successfully as it relies on specific non-default configurations. Current exploit data is limited with an EPSS score of 0.005, and it is not documented as a CISA Known Exploited Vulnerability.
Remediation
- Upgrade fast-xml-parser to version 5.12.0 or later.
- If immediate upgrading is not possible, disable the use of the stopNodes option in parser configurations if it is not business-critical.
How to check your project
- Review package.json or lock files to check if fast-xml-parser is installed in a version range below 5.12.0.
- Search the codebase for instances where the parser is initialized with the stopNodes configuration enabled.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | fast-xml-parser |
>= 0, < 5.12.0 | 5.12.0 | npm install [email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | Low |
FAQ
Is my application vulnerable by default?
No. The vulnerability specifically requires the use of the non-default stopNodes option to be exploitable.
Does this impact confidentiality or integrity?
No. The impact is limited to CPU-exhaustion (availability), and there is no evidence of impact on data confidentiality or integrity.
Is there a known public exploit?
Not documented. The report is based on static analysis, and no active exploitation is currently recorded in CISA KEV.
Original advisory description
References
- WEB https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-474x-hrwr-fgx4
- WEB https://github.com/NaturalIntelligence/fast-xml-parser/commit/0c3659348364959da62954b73728fb3bd05ebcb4
- PACKAGE https://github.com/NaturalIntelligence/fast-xml-parser
- WEB https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.0
Source records: GHSA-474x-hrwr-fgx4 (OSV.dev) · EPSS by FIRST, 2026-11-22.