CVE-2026-126066
fast-xml-parser allows users to process XML from JS object without …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/NaturalIntelligence/fast-xml-parser/commit/0c3659348364959da62954b73728fb3bd05e
- github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.0
- github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-474x-hrwr-fgx4
- github.com/advisories/GHSA-474x-hrwr-fgx4
- nvd.nist.gov/vuln/detail/CVE-2026-126066
- cve.org/CVERecord?id=CVE-2026-126066
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.