CVE-2026-27942

Updated on 26 Feb 2026

Severity

2.7 Low severity

Details

CVSS score
2.7
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Overview

About vulnerability

Impact

Application crashes with stack overflow when user use XML builder with prserveOrder:true for following or similar input

[{
'foo': [
{ 'bar': [{ '@_V': 'baz' }] }
]
}]

Cause: arrToStr was not validating if the input is an array or a string and treating all non-array values as text content. What kind of vulnerability is it? Who is impacted?

Patches

Yes in 5.3.8

Workarounds

Use XML builder with preserveOrder:false or check the input data before passing to builder.

References

Are there any links users can visit to find out more?

Details

Affected product:
fast-xml-parser
Affected packages:
fast-xml-parser (+3 more)

Fixes