{"cve":"CVE-2026-27942","nvd":{"published":"2026-02-26T02:16:22.357","modified":"2026-06-17T10:27:56.887","status":"Analyzed","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","score":2.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-120"],"references":["https://github.com/NaturalIntelligence/fast-xml-parser/commit/c13a961910f14986295dd28484eee830fa1a0e8a","https://github.com/NaturalIntelligence/fast-xml-parser/pull/791","https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-fj3w-jwp8-x2g3"],"products":["naturalintelligence:fast-xml-parser"],"source":"nvd","synced_at":"2026-10-19T22:24:17.937441719+00:00"},"epss":{"cve":"CVE-2026-27942","score":0.00543,"percentile":0.45638,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fj3w-jwp8-x2g3","url":"https://osv.dev/vulnerability/GHSA-fj3w-jwp8-x2g3","summary":"fast-xml-parser has stack overflow in XMLBuilder with preserveOrder","modified":"2026-09-10T03:50:34.765253793Z","packages":[{"ecosystem":"npm","name":"fast-xml-parser","purl":"pkg:npm/fast-xml-parser","ranges":[">=5.0.0 <5.3.8"],"fixed":["5.3.8"]},{"ecosystem":"npm","name":"fast-xml-parser","purl":"pkg:npm/fast-xml-parser","ranges":[">=4.0.0-beta.0 <4.5.4"],"fixed":["4.5.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}