# CVE-2026-50168: Angular: URL Parser Differential in @angular/platform-server leading to SSRF Allowlist Bypass

- Severity: High 8.8 (CVSS:4.0, scored by 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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-06-15T16:39:20.000Z
- Modified: 2026-07-15T22:30:45.835Z
- Also known as: GHSA-xrxm-cp7j-8xf6
- Weaknesses: CWE-346, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- 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; from 2.0.0 up to 18.2.14; from 19.0.0 before 19.2.23; from 20.0.0 before 20.3.22; from 21.0.0 before 21.2.15; 22.0.0
- @angular/platform-server (npm): from 22.0.0-next.0 before 22.0.0-rc.2; from 20.0.0-next.0 before 20.3.22; from 19.0.0-next.0 before 19.2.23; up to 18.2.14; from 21.0.0-next.0 before 21.2.15

## Every score

- GitHub_M: CVSS:4.0 8.8 High `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`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-xrxm-cp7j-8xf6> (vendor-advisory, web)
- <https://github.com/angular/angular/pull/68928> (issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50168> (advisory)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2026-50168](https://www.cve.org/CVERecord?id=CVE-2026-50168), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-xrxm-cp7j-8xf6](https://github.com/advisories/GHSA-xrxm-cp7j-8xf6), CC-BY-4.0, modified 2026-07-15
- NVD: [CVE-2026-50168](https://nvd.nist.gov/vuln/detail/CVE-2026-50168), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2026-50168 · Whole record: https://cve.day/CVE-2026-50168.json · Rebuilt by cve.day 2026-11-25T22:59:25.384Z
