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.

Project Subscriptions

Vendors Products
Naturalintelligence Subscribe
Fast-xml-parser Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-474x-hrwr-fgx4 fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 16 Nov 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 13 Nov 2026 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Naturalintelligence
Naturalintelligence fast-xml-parser
Vendors & Products Naturalintelligence
Naturalintelligence fast-xml-parser

Wed, 11 Nov 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-606
References
Metrics threat_severity

None

threat_severity

Low


Tue, 10 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
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.
Title fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags
Weaknesses CWE-407
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-12T18:01:44.471Z

Reserved: 2026-11-10T17:07:43.283Z

Link: CVE-2026-126066

cve-icon Vulnrichment

Updated: 2026-11-12T16:26:26.978Z

cve-icon NVD

Status : Deferred

Published: 2026-11-10T21:19:24.487

Modified: 2026-11-12T18:17:23.860

Link: CVE-2026-126066

cve-icon Redhat

Severity : Low

Publid Date: 2026-11-10T20:23:16Z

Links: CVE-2026-126066 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-13T20:30:21Z

Weaknesses