@angular/platform-server is vulnerable to Server Side Request Forgery (SSRF)
88
High Risk
The server rendering entry points took a request URL that could point at an absolute attacker-controlled origin. The SSR stack then treated that host as the active location, so relative HttpClient calls and platform hostname reads could be redirected toward the attacker’s server instead of the real deployment. The fix adds an allowlist wired into renderModule and renderApplication so the URL’s hostname must match configured hosts before bootstrap. Applications must pass an explicit allowedHosts list consistent with their deployment.
You are affected if you are using a version that falls within the vulnerable range.
@angular/platform-server is vulnerable to Server Side Request Forgery (SSRF) in versions 19.0.0 - 19.2.21, 20.0.0 - 20.3.20 and 21.0.0 - 21.2.12.
Upgrade the @angular/platform-server library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant