CVE-2026-50168

HIGH

Angular: URL Parser Differential in @angular/platform-server leading to SSRF Allowlist Bypass

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

References (2)

Core 2
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/angular/angular/pull/68928

Scores

CVSS v3 8.2
EPSS 0.0019
EPSS Percentile 9.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-346 CWE-918
Status published
Products (14)
angular/angular 22.0.0 next0 (15 CPE variants)
angular/angular 2.0.0 - 18.2.14
angular/angular <= 18.2.14
angular/angular >= 19.0.0-next.0, < 19.2.23
angular/angular >= 20.0.0-next.0, < 20.3.22
angular/angular >= 21.0.0-next.0, < 21.2.15
angular/angular >= 22.0.0-next.0, < 22.0.0-rc.2
angular/platform-server 0 - 18.2.14npm
angular/platform-server 19.0.0-next.0 - 19.2.23npm
angular/platform-server 20.0.0-next.0 - 20.3.22npm
... and 4 more
Published Jun 22, 2026
Tracked Since Jun 22, 2026