Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Angular | Angular | >= 2.0.0, <= 18.2.14 |
Related Weaknesses (CWE)
References
- https://github.com/angular/angular/pull/68928Issue TrackingPatch
- https://github.com/angular/angular/security/advisories/GHSA-xrxm-cp7j-8xf6Vendor Advisory
FAQ
What is CVE-2026-50168?
CVE-2026-50168 is a vulnerability with a CVSS score of 8.2 (HIGH). 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...
How severe is CVE-2026-50168?
CVE-2026-50168 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-50168?
Check the references section above for vendor advisories and patch information. Affected products include: Angular Angular.