Open redirect in node-forge - #VU159759
Published: January 6, 2022 / Updated: November 6, 2026
Vulnerability details
The vulnerability allows an attacker to cause applications using node-forge to interpret untrusted URLs incorrectly, potentially resulting in undesired application behavior.
The vulnerability exists due to a regular expression in the forge.util.parseUrl API that does not correctly parse certain inputs. An attacker can supply a crafted URL to an application that directly or indirectly passes untrusted input to this API, causing it to return incorrectly parsed data.