Uncontrolled Recursion in fast-xml-builder - #VU167984
Published: November 19, 2026
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.