PT-2026-144665
CVE-2026-126066
·
Published
2026-11-10
·
Updated
2026-11-10
Description by
CVSS 3.1
3.7
LowMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions
fast-xml-parser versions prior to 5.12.0
Description
When the non-default
stopNodes option is enabled, the software is susceptible to CPU exhaustion. The readStopNodeData() function in OrderedObjParser.js calls readTagExp() for every less-than character in an unterminated stop-node body. Because the failed lookahead for a closing greater-than character is neither cached nor bounded, the parser repeatedly rescans the remaining input. An attacker providing XML with numerous tag fragments lacking a closing character can trigger quadratic rescanning, which blocks the Node.js event loop and leads to a denial of service.Recommendations
Update to version 5.12.0.
As a temporary mitigation, disable the
stopNodes option when parsing untrusted XML. Found an issue in the description? Have something to add? Feel free to write us 👾