Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
3.7

CVE-2026-126066: fast-xml-parser can stall Node.js with crafted XML

CVE-2026-126066 · published 11 days ago
Summary

The fast-xml-parser library for JavaScript can consume a lot of CPU when it processes specially crafted XML that contains many incomplete tags. This can freeze the Node.js process and deny service to users. Upgrade to version 5.12.0 or later to resolve the issue.

What to do
  • Update GitHub Actions fast-xml-parser to version 5.12.0.
  • Update fast-xml-parser to version 5.12.0.
Affected software
Ecosystem VendorProductAffected versions
– naturalintelligence fast-xml-parser < 5.12.0
npm GitHub Actions fast-xml-parser <= 5.11.2
Fix: upgrade to 5.12.0
npm – fast-xml-parser <= 5.11.2
Fix: upgrade to 5.12.0
Debian:12 debian node-webfont All versions
Original advisory text
fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags
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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
3.7 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-407Inefficient Algorithmic Complexity
Timeline
Published10 Nov 2026
Updated22 Nov 2026
First seen10 Nov 2026
Track software like this
Free during beta