# CVE-2026-126066: fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-11-10T20:23:16.019Z
- Modified: 2026-11-12T18:17:23.860Z
- Also known as: GHSA-474x-hrwr-fgx4
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- NaturalIntelligence fast-xml-parser: < 5.12.0
- fast-xml-parser (npm): before 5.12.0

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-474x-hrwr-fgx4> (web)
- <https://github.com/NaturalIntelligence/fast-xml-parser/commit/0c3659348364959da62954b73728fb3bd05ebcb4> (web)
- <https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.0> (web)
- <https://github.com/NaturalIntelligence/fast-xml-parser> (package)

## Sources

- CVE List: [CVE-2026-126066](https://www.cve.org/CVERecord?id=CVE-2026-126066), CVE Terms of Use, modified 2026-11-12
- GitHub Advisory Database: [GHSA-474x-hrwr-fgx4](https://github.com/advisories/GHSA-474x-hrwr-fgx4), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-126066](https://nvd.nist.gov/vuln/detail/CVE-2026-126066), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-126066 · Whole record: https://cve.day/CVE-2026-126066.json · Rebuilt by cve.day 2026-11-25T22:59:50.271Z
