Uncontrolled Recursion in fast-xml-builder - #VU167984

 

Uncontrolled Recursion in fast-xml-builder - #VU167984

Published: November 19, 2026


Vulnerability identifier: #VU167984
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: N/A
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by exhausting the call stack and potentially terminating the Node.js process.

The vulnerability exists due to uncontrolled recursion in XMLBuilder's standard and preserveOrder raw-content handlers when serializing a configured stop node without enforcing the maxNestedTags limit. A remote attacker can supply input to an application that uses the affected serialization feature to trigger stack exhaustion.


Affected software

fast-xml-builder

Remediation

Install security update from vendor's website.

fast-xml-builder - update to 1.3.2

External References

Related Security Bulletins