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 requ…
- CVSS
- 8.2High
- Chance of exploitation (EPSS)
- 0.24%
- Published
- Jun 22, 2026
- In the news
- Not yet
What to do
A serious server-side request forgery flaw in Angular that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Angular
- <= 18.2.14; >= 19.0.0-next.0, < 19.2.23; >= 20.0.0-next.0, < 20.3.22; >= 21.0.0-next.0, < 21.2.15; >= 22.0.0-next.0, < 22.0.0-rc.2
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-50168 published (CVSS 8.2) (Jun 22, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Jun 22, 2026
- CVECVE-2026-50168 published (CVSS 8.2)CVE Program · 18:16 UTC
References 2
- github.com Patch /angular/angular/pull/68928
- github.com Vendor Advisory /angular/angular/security/advisories/GHSA-xrxm-cp7j-8xf6