Prototype pollution in node-forge - #VU159760

 

Prototype pollution in node-forge - #VU159760

Published: January 6, 2022 / Updated: November 6, 2026


Vulnerability identifier: #VU159760
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-1321
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

node-forge

Remediation

Install security update from vendor's website.

node-forge - update to 1.0.0

External References

Related Security Bulletins