{"cve":"CVE-2026-50168","nvd":{"published":"2026-06-22T18:16:42.117","modified":"2026-07-09T15:24:54.253","status":"Analyzed","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_v4":{"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","score":8.8},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2},"cwes":["CWE-346","CWE-918"],"references":["https://github.com/angular/angular/pull/68928","https://github.com/angular/angular/security/advisories/GHSA-xrxm-cp7j-8xf6"],"products":["angular:angular"],"source":"nvd","synced_at":"2026-10-19T22:39:28.638635428+00:00"},"epss":{"cve":"CVE-2026-50168","score":0.00237,"percentile":0.14803,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xrxm-cp7j-8xf6","url":"https://osv.dev/vulnerability/GHSA-xrxm-cp7j-8xf6","summary":"@angular/platform-server: URL Parser Differential leading to SSRF Allowlist Bypass","modified":"2026-07-15T22:30:45.835269929Z","packages":[{"ecosystem":"npm","name":"@angular/platform-server","purl":"pkg:npm/%40angular/platform-server","ranges":[">=22.0.0-next.0 <22.0.0-rc.2"],"fixed":["22.0.0-rc.2"]},{"ecosystem":"npm","name":"@angular/platform-server","purl":"pkg:npm/%40angular/platform-server","ranges":[">=20.0.0-next.0 <20.3.22"],"fixed":["20.3.22"]},{"ecosystem":"npm","name":"@angular/platform-server","purl":"pkg:npm/%40angular/platform-server","ranges":[">=19.0.0-next.0 <19.2.23"],"fixed":["19.2.23"]},{"ecosystem":"npm","name":"@angular/platform-server","purl":"pkg:npm/%40angular/platform-server","ranges":["<=18.2.14"],"fixed":[]},{"ecosystem":"npm","name":"@angular/platform-server","purl":"pkg:npm/%40angular/platform-server","ranges":[">=21.0.0-next.0 <21.2.15"],"fixed":["21.2.15"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}