Inefficient Algorithmic Complexity Affecting fast-xml-parser package, versions <5.12.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.46% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-FASTXMLPARSER-22409021
  • published11 Nov 2026
  • disclosed10 Nov 2026
  • creditSai Prapanch.H

Introduced: 10 Nov 2026

NewCVE-2026-126066  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade fast-xml-parser to version 5.12.0 or higher.

Overview

fast-xml-parser is a Validate XML, Parse XML, Build XML without C/C++ based libraries

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in the readStopNodeData() function in OrderedObjParser.js. An attacker can block the event loop by supplying XML in which a stop node body contains many <a fragments and no closing >, which makes the function rescan the entire remaining input from every <. This affects only applications that set the non-default stopNodes option to match an element in the parsed document.

CVSS Base Scores

version 4.0
version 3.1