CVE-2026-46417

MEDIUM

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

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 6.1
EPSS 0.0022
EPSS Percentile 12.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-918
Status published
Products (14)
angular/angular 22.0.0 next0 (12 CPE variants)
angular/angular < 18.2.14
angular/angular <= 18.2.14
angular/angular >= 19.0.0-next.0, < 19.2.22
angular/angular >= 20.0.0-next.0, < 20.3.21
angular/angular >= 21.0.0-next.0, < 21.2.13
angular/angular >= 22.0.0-next.0, < 22.0.0-next.12
angular/platform-server 0 - 18.2.14npm
angular/platform-server 19.0.0-next.0 - 19.2.22npm
angular/platform-server 20.0.0-next.0 - 20.3.21npm
... and 4 more
Published Jun 22, 2026
Tracked Since Jun 22, 2026