CVE-2026-50168
published high CVSS 4.0 · 8.8Angular: URL Parser Differential in @angular/platform-server leading to SSRF Allowlist Bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| angular | — | angular>= 22.0.0-next.0, < 22.0.0-rc.2 · >= 21.0.0-next.0, < 21.2.15 · >= 20.0.0-next.0, < 20.3.22 · >= 19.0.0-next.0, < 19.2.23 · <= 18.2.14 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| angular | angular | >= 22.0.0-next.0, < 22.0.0-rc.2 (affected)>= 21.0.0-next.0, < 21.2.15 (affected)>= 20.0.0-next.0, < 20.3.22 (affected)>= 19.0.0-next.0, < 19.2.23 (affected)<= 18.2.14 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-346 CWE-346: Origin Validation Error
- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
2Provider assertions
2GitHub_M · cna
Angular: URL Parser Differential in @angular/platform-server leading to SSRF Allowlist Bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fa92ad0fa360ad0cd53ce477845c7a815b341fb941baead22f2fe89aba72513d
- Ingested
- 23 Sep 2026, 09:18:57 UTC
- Source record
- Official CVE record