CVE-2026-50168
High · 8.2CVSS
8.2
EPSS
0.2%
Published
Jun 22, 2026
CISA due date
—
The record
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, an issue in the @angular/platform-server package allows remote attackers to bypass host allowlist constraints and direct server-side outgoing requests to arbitrary external endpoints. This occurs due to a parser differential between the strict WHATWG URL parser used for allowlist validation and the lenient Domino URL parser used to initialize the server emulated DOM. When a server-side request contains a malformed URL with a double port structure (e.g., http://evil.com:80:80/path), Node's strict URL.canParse(url) logic returns false and skips host check validation entirely. However, the same malformed URL is later accepted and parsed leniently by Domino's internal parser, which resolves the origin to http://evil.com:80. The Angular SSR HTTP request interceptor (relativeUrlsTransformerInterceptorFn) then resolves all relative backend HTTP requests against this adopted origin, executing the SSRF attack. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @angular/platform-server | 0 | No fix |
| npm | @angular/platform-server | 19.0.0-next.0 | 19.2.23 |
| npm | @angular/platform-server | 20.0.0-next.0 | 20.3.22 |
| npm | @angular/platform-server | 21.0.0-next.0 | 21.2.15 |
| npm | @angular/platform-server | 22.0.0-next.0 | 22.0.0-rc.2 |
Related vulnerabilities
- GHSA-xrxm-cp7j-8xf6 @angular/platform-server: URL Parser Differential leading to SSRF Allowlist Bypass Same vulnerability
- CVE-2026-50556 Angular is a development platform for building mobile and desktop web applications using… Also affects @angular/platform-server
- CVE-2026-50555 Angular is a development platform for building mobile and desktop web applications using… Also affects @angular/platform-server
- CVE-2026-46417 Angular is a development platform for building mobile and desktop web applications using… Also affects @angular/platform-server
- GHSA-gxx4-3xcv-f8qx @angular/platform-server: Missing `` Raw-Text Serialization Escaping leads to Cross-Site… Also affects @angular/platform-server
- GHSA-hqr9-c56f-3x7f @angular/platform-server: Improper Neutralization of Input During Web Page Generation… Also affects @angular/platform-server
- GHSA-rfh7-fxqc-q52v @angular/platform-server: SSRF via Hostname Hijacking Also affects @angular/platform-server
- CVE-2026-41423 Angular is a development platform for building mobile and desktop web applications using… Also affects @angular/platform-server