CVE-2026-126066
Description
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to 5.12.0, when the non-default stopNodes option is enabled, readStopNodeData() in OrderedObjParser.js calls readTagExp() for each less-than character in an unterminated stop-node body and repeatedly rescans the remaining input while looking for a closing greater-than character. An attacker who supplies XML containing many tag fragments without a later closing character can cause quadratic rescanning before parsing fails, blocking a Node.js event loop and causing CPU-exhaustion denial of service. This issue is fixed in version 5.12.0.
Weakness
- CWE-407: Inefficient Algorithmic Complexity
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-12 |
Timeline
- 2026-11-10Published by the CNA20:23 UTC
- 2026-11-10GitHub advisory published (GHSA-474x-hrwr-fgx4)same day
- 2026-11-12CISA SSVC decision recorded2 days after publication
Exploit and advisory records
GitHub advisory GHSA-474x-hrwr-fgx4, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm fast-xml-parser | before 5.12.0 | 5.12.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| naturalintelligence fast-xml-parser |
References
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/0c3659348364959da62954b73728fb3bd05ebcb4
- https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.0
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-474x-hrwr-fgx4
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-126066'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-126066'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-126066'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-126066'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).