Intel

AIKIDO-2025-10730

@angular/ssr is vulnerable to Server-Side Request Forgery (SSRF)

Server-Side Request Forgery (SSRF)CVE-2025-62427 Published Oct 23, 2025

46

Medium Risk

This Affects:

JS@angular/ssr
19.0.0 - 19.2.17
Fixed in 19.2.18
20.0.0 - 20.3.5
Fixed in 20.3.6
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to server-side request forgery (SSRF) because createRequestUrl uses new URL(originalUrl ?? url, base) and allows schema-relative paths (//host) to override the base. An attacker can craft a request path beginning with // (e.g. //attacker.com/path), causing Angular SSR to treat the request as coming from http://attacker.com and perform relative requests against attacker-controlled hosts. This enables SSRF, domain spoofing, and potential content injection.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@angular/ssr is vulnerable to Server-Side Request Forgery (SSRF) in versions 19.0.0 - 19.2.17 and 20.0.0 - 20.3.5.

How to fix this

Upgrade the @angular/ssr library to the patch version.