CVE-2026-141469
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 version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability only. This issue is fixed in version 5.12.1.
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/4a1623bc23c011fd5ea0b72c21b00f310968
- github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.1
- github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-7cfw-w2rf-f3jc
- nvd.nist.gov/vuln/detail/CVE-2026-141469
- github.com/advisories/GHSA-7cfw-w2rf-f3jc
- nvd.nist.gov/vuln/detail/CVE-2026-141469
- cve.org/CVERecord?id=CVE-2026-141469
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.