Vulnerability · Published Jun 22, 2026 · Assigned by GitHub_M

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

High 8.8

In plain English

A high-severity server-side request forgery in angular from angular. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.8High
Exploit odds (30 days)0.4%top 70.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12angular.jsno fix listedDEBIAN-CVE-2026-46417
Debian:13angular.jsno fix listedDEBIAN-CVE-2026-46417
Ubuntu:22.04:LTSangular.jsno fix listedUBUNTU-CVE-2026-46417
Ubuntu:24.04:LTSangular.jsno fix listedUBUNTU-CVE-2026-46417
Ubuntu:25.10angular.jsno fix listedUBUNTU-CVE-2026-46417
Ubuntu:26.04:LTSangular.jsno fix listedUBUNTU-CVE-2026-46417
Ubuntu:26.10angular.jsno fix listedUBUNTU-CVE-2026-46417
npm@angular/platform-serverno fix listedGHSA-rfh7-fxqc-q52v
npm@angular/platform-server19.2.22GHSA-rfh7-fxqc-q52v
npm@angular/platform-server20.3.21GHSA-rfh7-fxqc-q52v
npm@angular/platform-server21.2.13GHSA-rfh7-fxqc-q52v
npm@angular/platform-server22.0.0-next.12GHSA-rfh7-fxqc-q52v

Affected products (as reported)

VendorProductVersions
angular angular >= 22.0.0-next.0, < 22.0.0-next.12>= 21.0.0-next.0, < 21.2.13>= 20.0.0-next.0, < 20.3.21>= 19.0.0-next.0, < 19.2.22<= 18.2.14

Weakness: CWE-918 · 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

References