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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | angular.js | No fix yet | — |
| Debian 12 | angular.js | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | angular.js | No fix yet | — |
| Ubuntu 26.04 LTS | angular.js | No fix yet | — |
| Ubuntu 25.10 | angular.js | No fix yet | — |
| Ubuntu 24.04 LTS | angular.js | No fix yet | — |
| Ubuntu 22.04 LTS | angular.js | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | angular.js | No fix yet | — |
| Ubuntu Pro 18.04 LTS | angular.js | No fix yet | — |
| Ubuntu Pro 16.04 LTS | angular.js | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @angular/platform-server | >= 22.0.0-next.0, < 22.0.0-next.12 | 22.0.0-next.12 | GHSA-rfh7-fxqc-q52v |
| npm | @angular/platform-server | >= 21.0.0-next.0, < 21.2.13 | 21.2.13 | GHSA-rfh7-fxqc-q52v |
| npm | @angular/platform-server | >= 20.0.0-next.0, < 20.3.21 | 20.3.21 | GHSA-rfh7-fxqc-q52v |
| npm | @angular/platform-server | >= 19.0.0-next.0, < 19.2.22 | 19.2.22 | GHSA-rfh7-fxqc-q52v |
| npm | @angular/platform-server | <= 18.2.14 | — | GHSA-rfh7-fxqc-q52v |
Advisories 1
- WID-SEC-2026-1591 Angular: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Jun 22, 2026