Security mailing lists by PureSourceCode

CVE-2026-27942

LOW 2.7CVSS 4.0

fast-xml-parser has stack overflow in XMLBuilder with preserveOrder

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.

Published
26 Feb 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-120
Also known as
GHSA-fj3w-jwp8-x2g3
Sources
NVDJSONOSV GHSA-fj3w-jwp8-x2g3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 LOW 2.7 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD naturalintelligence fast-xml-parser
cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:*
< 4.5.4 4.5.4
NVD naturalintelligence fast-xml-parser
cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.3.8 5.3.8
OSV npm fast-xml-parser >= 5.0.0, < 5.3.8 5.3.8
OSV npm fast-xml-parser >= 4.0.0-beta.0, < 4.5.4 4.5.4

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 26 Feb 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.