Vulnerability

CVE-2026-27942

lowCVSS 4.0 2.7Published 26 Feb 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Naturalintelligence fast-xml-parser

Weakness type

References

  • github.com /NaturalIntelligence/fast-xml-parser/commit/c13a961910f1498…
  • github.com /NaturalIntelligence/fast-xml-parser/pull/791
  • github.com /NaturalIntelligence/fast-xml-parser/security/advisories/GH…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning