fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags
Historical advisory recorded 10 Nov 2026 22:21:22 UTC. Read the latest advisory.
cve-program · CVE-2026-126066
Publishedfast-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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-126066 · CVE overview and exploitation status
cve-program · CVE-2026-126066
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.