Prototype pollution in node-forge - #VU159760
Published: January 6, 2022 / Updated: November 6, 2026
Vulnerability details
The vulnerability allows an attacker supplying untrusted input to modify object prototype attributes in applications using node-forge.
The vulnerability exists due to improper control of prototype attributes in the undocumented forge.debug API when an application calls it directly or indirectly with untrusted input. An attacker supplying untrusted input can pollute prototypes if the application passes attacker-controlled data to this API, which was intended for internal debugging.