CVE-2026-50168Angular
High 8.8 No auth needed
Follow: this CVE · Angular · Angular We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 4.0
- 8.8
- EPSS
- —
- Auth required
- No
- Published
- Jun 22, 2026
- Updated
- Jul 9, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Angular.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @angular/platform-server |
≥ 22.0.0-next.0 < 22.0.0-rc.2 |
22.0.0-rc.2 |
npm install @angular/platform-server@22.0.0-rc.2 |
| npm | @angular/platform-server |
≥ 20.0.0-next.0 < 20.3.22 |
20.3.22 |
npm install @angular/platform-server@20.3.22 |
| npm | @angular/platform-server |
≥ 19.0.0-next.0 < 19.2.23 |
19.2.23 |
npm install @angular/platform-server@19.2.23 |
| npm | @angular/platform-server |
≤ 18.2.14 |
no fixed version | — |
| npm | @angular/platform-server |
≥ 21.0.0-next.0 < 21.2.15 |
21.2.15 |
npm install @angular/platform-server@21.2.15 |
Per OSV / GitHub Advisories (GHSA-xrxm-cp7j-8xf6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| angular | angular | ≥ 2.0.0 ≤ 18.2.14 |
| angular | angular | ≥ 19.0.0 < 19.2.23 |
| angular | angular | ≥ 20.0.0 < 20.3.22 |
| angular | angular | ≥ 21.0.0 < 21.2.15 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
| angular | angular | 22.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- github.com Vendor Advisory