Skip to content
OpenAdvisories
Medium · 5.1 CVE-2026-111754 EUVD-2026-116377GHSA-w739-gvwx-grc3

Angular: Open Redirect via Protocol-Relative URLs in Server-Side Rendering (SSR)

Published Nov 3, 2026 · Updated Nov 3, 2026 · 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 20.3.33, 21.2.25, and 22.2.1, ServerPlatformLocation in Angular server-side rendering checks for protocol-relative URLs before WHATWG URL normalization. A request path containing a popping dot segment followed by multiple slashes can bypass the raw resolveUrl check and normalize to a pathname beginning with two slashes. When Angular SSR detects a mismatch with the router's final location, it can place that pathname in an HTTP Location header, causing a browser to navigate to an attacker-controlled origin. Affected applications use @angular/platform-server and @angular/ssr and either expose compatible parameter or child route shapes or pass user-controlled navigation targets through infrastructure that preserves the relevant dot segments or semicolons. Pure client-side SPAs are not affected. This issue is fixed in versions 20.3.33, 21.2.25, and 22.2.1.

Affected products

VendorProductAffectedFixed
angular angular <= 19.2.25, >= 20.0.0, < 20.3.33, >= 21.0.0, < 21.2.25, >= 22.0.0, < 22.2.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @angular/platform-server >= 22.0.0, < 22.2.1 22.2.1 GHSA-w739-gvwx-grc3
npm @angular/platform-server >= 21.0.0, < 21.2.25 21.2.25 GHSA-w739-gvwx-grc3
npm @angular/platform-server >= 20.0.0, < 20.3.33 20.3.33 GHSA-w739-gvwx-grc3
npm @angular/platform-server <= 19.2.25 — GHSA-w739-gvwx-grc3

Advisories 1

References