Intel

AIKIDO-2026-433029

@angular/platform-server is vulnerable to Open Redirect

CVE-2026-111754Published Oct 15, 2026
October 15, 2026

51

CVE Score

Medium

Open Redirect

Are you affected? Scan for Free

TL;DR

During server side rendering, ServerPlatformLocation passes the incoming request URL to resolveUrl, which only rejects protocol relative URLs whose raw string begins with //, and it does so before WHATWG URL normalization. A URL containing a dot segment followed by extra slashes, such as /.//evil.test, bypasses that raw string check, and the resolved pathname still begins with //. When the rendered URL and the router's final location differ, @angular/ssr writes that pathname into the HTTP Location response header, so browsers follow a redirect to another origin. The fix checks the normalized pathname for a leading // after resolution and rejects it.

How do I fix this?

Upgrade the @angular/platform-server library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.0.1 - 20.3.32

Fixed in 20.3.33

21.0.0 - 21.2.24

Fixed in 21.2.25

22.0.0 - 22.2.0

Fixed in 22.2.1

Background info

@angular/platform-server is vulnerable to Open Redirect in versions 0.0.1 - 20.3.32, 21.0.0 - 21.2.24 and 22.0.0 - 22.2.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea