Open Redirect Affecting @angular/ssr package, versions >=19.0.0-next.0 <19.2.25>=20.0.0-next.0 <20.3.25>=21.0.0-next.0 <21.2.9>=22.0.0-next.0 <22.0.0-next.7


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ANGULARSSR-16438975
  • published8 May 2026
  • disclosed6 May 2026
  • creditKarim Foughali

Introduced: 6 May 2026

NewCVE-2026-44437  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade @angular/ssr to version 19.2.25, 20.3.25, 21.2.9, 22.0.0-next.7 or higher.

Overview

@angular/ssr is a the Angular server side rendering utilities.

Affected versions of this package are vulnerable to Open Redirect via improper handling of the X-Forwarded-Prefix header. An attacker can manipulate internal redirects or server-side requests by injecting encoded path traversal sequences, which are decoded and used by the application logic. This can result in unintended redirects or requests to internal or external endpoints.

Note: This is only exploitable if the application is configured to trust proxy headers and is deployed behind a proxy that forwards the X-Forwarded-Prefix header without prior sanitization.

CVSS Base Scores

version 4.0
version 3.1