High severity · published Oct 16, 2025
CVE-2025-62427
Server-Side Request Forgery (SSRF) in Angular SSR
8.7
CVSS
0.4%
EPSS
No
On KEV
Description
The Angular SSR is a server-rise rendering tool for Angular applications. The vulnerability is a Server-Side Request Forgery (SSRF) flaw within the URL resolution mechanism of Angular's Server-Side Rendering package (@angular/ssr) before 19.2.18, 20.3.6, and 21.0.0-next.8. The function createRequestUrl uses the native URL constructor. When an incoming request path (e.g., originalUrl or url) begins with a double forward slash (//) or backslash (\\), the URL constructor treats it as a schema-relative URL. This behavior overrides the security-intended base URL (protocol, host, and port) supplied as the second argument, instead resolving the URL against the scheme of the base URL but adopting the attacker-controlled hostname. This allows an attacker to specify an external domain in the URL path, tricking the Angular SSR environment into setting the page's virtual location (accessible via DOCUMENT or PlatformLocation tokens) to this attacker-controlled domain. Any subsequent relative HTTP requests made during the SSR process (e.g., using HttpClient.get('assets/data.json')) will be incorrectly resolved against the attacker's domain, forcing the server to communicate with an arbitrary external endpoint. This vulnerability is fixed in 19.2.18, 20.3.6, and 21.0.0-next.8.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AN
angular-cli · angular
>=19.0.0-next.0, < 19.2.18; >=20.0.0-next.0, < 20.3.6; >=21.0.0-next.0, < 21.0.0-next.8 · source: vendor
Affected product
AN
angular-cli
angular
More from angular-cli
9.2
CVE-2026-27739
Angular SSR is vulnerable to SSRF and Header Injection via request handling pipeline
9.0
CVE-2026-32635
Angular has XSS in i18n attribute bindings
6.9
CVE-2026-27738
Angular SSR has an Open Redirect via X-Forwarded-Prefix
6.3
CVE-2026-104871
Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows
6.1
CVE-2026-44437
Angular SSR: Open Redirect and Request Steering via Encoded X-Forwarded-Prefix