CVE-2026-27942
fast-xml-parser allows users to validate XML, parse XML to JS …
fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C++ based libraries and no callback. Prior to version 5.3.8, the application crashes with stack overflow when user use XML builder with `preserveOrder:true`. Version 5.3.8 fixes the issue. As a workaround, use XML builder with `preserveOrder:false` or check the input data before passing to builder.
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/c13a961910f14986295dd28484eee830fa1a
- github.com/NaturalIntelligence/fast-xml-parser/pull/791
- github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-fj3w-jwp8-x2g3
- nvd.nist.gov/vuln/detail/CVE-2026-27942
- github.com/advisories/GHSA-fj3w-jwp8-x2g3
- nvd.nist.gov/vuln/detail/CVE-2026-27942
- cve.org/CVERecord?id=CVE-2026-27942
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.