جزئیات آسیبپذیری
CVE-2026-50168
Angular: URL Parser Differential in @angular/platform-server 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.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 8.8بالا | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | 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 |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| angular | angular | <= 18.2.14 | CVEProject cvelistV5 (CNA) |
| angular | angular | >= 19.0.0-next.0, < 19.2.23 | CVEProject cvelistV5 (CNA) |
| angular | angular | >= 20.0.0-next.0, < 20.3.22 | CVEProject cvelistV5 (CNA) |
| angular | angular | >= 21.0.0-next.0, < 21.2.15 | CVEProject cvelistV5 (CNA) |
| angular | angular | >= 22.0.0-next.0, < 22.0.0-rc.2 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۲- https://github.com/angular/angular/security/advisories/GHSA-xrxm-cp7j-8xf6 x_refsource_CONFIRM
- https://github.com/angular/angular/pull/68928 x_refsource_MISC
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۴/۰۱
- آخرین بهروزرسانی
- ۱۴۰۵/۰۴/۰۱
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- بله
- وضعیت بهرهبرداری
- ندارد
- اثر فنی
- جزئی
ضعفها (CWE)
- CWE-346Origin Validation Error
- CWE-918Server-Side Request Forgery (SSRF)