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.
Metrics
Affected Vendors & Products
References
History
Sat, 28 Feb 2026 00:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-776 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
Fri, 27 Feb 2026 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Fast-xml-parser Project
Fast-xml-parser Project fast-xml-parser |
|
| CPEs | cpe:2.3:a:fast-xml-parser_project:fast-xml-parser:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Fast-xml-parser Project
Fast-xml-parser Project fast-xml-parser |
|
| Metrics |
cvssV3_1
|
Thu, 26 Feb 2026 13:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Naturalintelligence
Naturalintelligence fast-xml-parser |
|
| Vendors & Products |
Naturalintelligence
Naturalintelligence fast-xml-parser |
Thu, 26 Feb 2026 02:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | fast-xml-parser has stack overflow in XMLBuilder with preserveOrder | |
| Weaknesses | CWE-120 | |
| References |
| |
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: GitHub_M
Published: 2026-02-26T01:22:11.383Z
Updated: 2026-02-26T15:49:35.449Z
Reserved: 2026-02-25T03:11:36.689Z
Link: CVE-2026-27942
No data.
Status : Analyzed
Published: 2026-02-26T02:16:22.357
Modified: 2026-02-27T17:14:16.193
Link: CVE-2026-27942