CVE-2026-126066

GHSA-474x-hrwr-fgx4 · published 10 Nov 2026 · updated 12 Nov 2026

fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags

3.7LowCVSS 3.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in fast-xml-parser 5.12.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
NaturalIntelligence<5.12.0
npm: fast-xml-parser<5.12.0, <=5.11.25.12.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in fast-xml-parser (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126066 severity on Zeptric[![CVE-2026-126066](https://zeptric.io/badge/cve/CVE-2026-126066.svg)](https://zeptric.io/cve/CVE-2026-126066)