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 | Vendor | Product | Affected 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.
References
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-... x_refsource_CONFIRM
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/0c3659348364959da6... x_refsource_MISC
- https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.0 x_refsource_MISC
- https://github.com/advisories/GHSA-474x-hrwr-fgx4
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-1260... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-126066 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-126066 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-407Inefficient Algorithmic Complexity
Timeline
Published10 Nov 2026
Updated22 Nov 2026
First seen10 Nov 2026
Sources
CVE-2026-126066 · NVD
CVE-2026-126066 · MITRE
GHSA-474x-hrwr-fgx4 · GHSA
CVE-2026-126066 · OSV
DEBIAN-CVE-2026-126066 · OSV
Track software like this
Free during beta