Skip to content

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

HighCVSS 8.8 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

8 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/angular.js(Debian 12) = 1.8.3-1; = 1.8.3-1+deb12u1; = 1.8.3-1+deb12u1~deb11u1; = 1.8.3-2 +2 more No fix listed No fix yet
debian/angular.js(Debian 13) = 1.8.3-3; All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 26.10) All versions No fix listed No fix yet
angular = 22.0.0-next0; = 22.0.0-next1; = 22.0.0-next2; = 22.0.0-next3 +20 more 19.2.23, 20.3.22, 21.2.15 Fixed
angular platform-server(npm) <= 18.2.14; >= 19.0.0-next.0, < 19.2.23; >= 20.0.0-next.0, < 20.3.22; >= 21.0.0-next.0, < 21.2.15 +1 more 19.2.23, 20.3.22, 21.2.15, 22.0.0-rc.2 Fixed

Affected products

ProductAffected versionsFixed in
angular = >= 22.0.0-next.0, < 22.0.0-rc.2 No fix listed
angular = >= 21.0.0-next.0, < 21.2.15 No fix listed
angular = >= 20.0.0-next.0, < 20.3.22 No fix listed
angular = >= 19.0.0-next.0, < 19.2.23 No fix listed
angular = <= 18.2.14 No fix listed
angular platform-server(npm) >= 22.0.0-next.0, < 22.0.0-rc.2 22.0.0-rc.2
angular platform-server(npm) >= 20.0.0-next.0, < 20.3.22 20.3.22
angular platform-server(npm) >= 19.0.0-next.0, < 19.2.23 19.2.23
angular platform-server(npm) <= 18.2.14 No fix listed
angular platform-server(npm) >= 21.0.0-next.0, < 21.2.15 21.2.15
debian/angular.js(Debian:12) All versions No fix listed
debian/angular.js(Debian:12) = 1.8.3-1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-1+deb12u1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-1+deb12u1~deb11u1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-2 No fix listed
debian/angular.js(Debian:12) = 1.8.3-3 No fix listed
debian/angular.js(Debian:13) All versions No fix listed
debian/angular.js(Debian:13) = 1.8.3-3 No fix listed
ubuntu/angular.js(Ubuntu:22.04) All versions No fix listed
ubuntu/angular.js(Ubuntu:24.04) All versions No fix listed
ubuntu/angular.js(Ubuntu:26.04) All versions No fix listed
ubuntu/angular.js(Ubuntu:26.10) All versions No fix listed
angular >= 2.0.0, <= 18.2.14 No fix listed
angular >= 19.0.0, < 19.2.23 19.2.23
angular >= 20.0.0, < 20.3.22 20.3.22
Show 16 more
ProductAffected versionsFixed in
angular >= 21.0.0, < 21.2.15 21.2.15
angular = 22.0.0-next0 No fix listed
angular = 22.0.0-next1 No fix listed
angular = 22.0.0-next10 No fix listed
angular = 22.0.0-next11 No fix listed
angular = 22.0.0-next12 No fix listed
angular = 22.0.0-next2 No fix listed
angular = 22.0.0-next3 No fix listed
angular = 22.0.0-next4 No fix listed
angular = 22.0.0-next5 No fix listed
angular = 22.0.0-next6 No fix listed
angular = 22.0.0-next7 No fix listed
angular = 22.0.0-next8 No fix listed
angular = 22.0.0-next9 No fix listed
angular = 22.0.0-rc0 No fix listed
angular = 22.0.0-rc1 No fix listed

References