CVE-2026-126066
Low 3.7No known exploitationFix availablefast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags
Vendor advisory: GHSA-474x-hrwr-fgx4
Record last updated
CVSS score
Low on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
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
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| NaturalIntelligence | fast-xml-parser | < 5.12.0 | Not documented | CVE Program |
| npm | fast-xml-parser | all versions up to and including 5.11.2 | 5.12.0 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/0c3659348364959da62954b73728fb3bd05ebcb4 (opens in a new tab)x_refsource_misc
- https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.0 (opens in a new tab)x_refsource_misc
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-474x-hrwr-fgx4 (opens in a new tab)x_refsource_confirm
- GitHub Advisory GHSA-474x-hrwr-fgx4 (opens in a new tab)github-advisory