CVE-2026-50168
HIGH 8.8CVSS 4.0@angular/platform-server: URL Parser Differential leading to SSRF Allowlist Bypass
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.
- Published
- 22 Jun 2026
- Last modified
- 15 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-346CWE-918
- Also known as
- GHSA-xrxm-cp7j-8xf6
- Sources
- NVDJSONOSV GHSA-xrxm-cp7j-8xf6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.8 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | angular | angularcpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
>= 2.0.0, <= 18.2.14 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
>= 19.0.0, < 19.2.23 | 19.2.23 |
| NVD | angular | angularcpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
>= 20.0.0, < 20.3.22 | 20.3.22 |
| NVD | angular | angularcpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
>= 21.0.0, < 21.2.15 | 21.2.15 |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next0:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next1:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next10:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next11:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next12:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next2:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next3:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next4:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next5:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next6:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next7:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next8:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:next9:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:rc0:*:*:*:node.js:*:* |
= 22.0.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:22.0.0:rc1:*:*:*:node.js:*:* |
= 22.0.0 | |
| OSV | npm | @angular/platform-server | >= 22.0.0-next.0, < 22.0.0-rc.2 | 22.0.0-rc.2 |
| OSV | npm | @angular/platform-server | >= 20.0.0-next.0, < 20.3.22 | 20.3.22 |
| OSV | npm | @angular/platform-server | >= 19.0.0-next.0, < 19.2.23 | 19.2.23 |
| OSV | npm | @angular/platform-server | <= 18.2.14 | |
| OSV | npm | @angular/platform-server | >= 21.0.0-next.0, < 21.2.15 | 21.2.15 |
References
- https://github.com/angular/angular/pull/68928 · Issue Tracking, Patch, WEB
- https://github.com/angular/angular/security/advisories/GHSA-xrxm-cp7j-8xf6 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-50168 · ADVISORY
- https://github.com/angular/angular · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Jun 2026)