CVE-2026-126066
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks.
- Severity: Low
- CVSS 3.7
- EPSS 0.43%
- P4 · Track
Why P4: track.
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.
Affected products
- npm fast-xml-parser <= 5.11.2; first patched: 5.12.0
Weakness
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- Reference NVD
- GitHub security advisory GitHub