CVE-2026-46417CWE-918

Angular: SSRF via Hostname Hijacking in @angular/platform-server

High · published June 22, 2026

CVSS v4.0
8.8
EPSS
0%
Percentile
28.7
In the wild
Unconfirmed
What it is

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-next.12, 21.2.13, 20.3.21, and 19.2.22, a Server-Side Request Forgery (SSRF) vulnerability exists in @angular/platform-server. The issue stems from how the server-side rendering (SSR) engine processes the request URL provided to the rendering entry points. When an absolute-form URL (e.g., http://evil.com) is passed to the rendering engine, the internal ServerPlatformLocation can be manipulated into adopting the attacker-controlled domain as the "current" hostname. Consequently, any relative HttpClient requests or PlatformLocation.hostname references are redirected to the attacker controlled server, potentially exposing internal APIs or metadata services. This vulnerability is fixed in 22.0.0-next.12, 21.2.13, 20.3.21, and 19.2.22.

The record
Technical detail
CVSS v4.0
8.8 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N
EPSS
0.00361 · 28.7th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2026-06-22T15:40Z
EPSS history
Timeline
  • 22 JUN 15:40Z
    Angular: SSRF via Hostname Hijacking in @angular/platform-server
    cvelistv5