CVE-2026-27738 Details
Description
The Angular SSR is a server-rise rendering tool for Angular applications. An Open Redirect vulnerability exists in the internal URL processing logic in versions on the 19.x branch prior to 19.2.21, the 20.x branch prior to 20.3.17, and the 21.x branch prior to 21.1.5 and 21.2.0-rc.1. The logic normalizes URL segments by stripping leading slashes; however, it only removes a single leading slash. When an Angular SSR application is deployed behind a proxy that passes the `X-Forwarded-Prefix` header, an attacker can provide a value starting with three slashes. This vulnerability allows attackers to conduct large-scale phishing and SEO hijacking. In order to be vulnerable, the application must use Angular SSR, the application must have routes that perform internal redirects, the infrastructure (Reverse Proxy/CDN) must pass the `X-Forwarded-Prefix` header to the SSR process without sanitization, and the cache must not vary on the `X-Forwarded-Prefix` header. Versions 21.2.0-rc.1, 21.1.5, 20.3.17, and 19.2.21 contain a patch. Until the patch is applied, developers should sanitize the `X-Forwarded-Prefix` header in their`server.ts` before the Angular engine processes the request.
A vulnerability allowing open redirects has been identified in Angular's server-side rendering (SSR) tool, specifically in versions 19.x prior to 19.2.21, 20.x prior to 20.3.17, and 21.x prior to 21.1.5 and 21.2.0-rc.1. The issue arises from the URL normalization process, which improperly handles leading slashes in the X-Forwarded-Prefix header. When an application is deployed behind a proxy that passes this header without proper sanitization, an attacker can craft a value that creates a protocol-relative URL, leading to phishing and SEO hijacking attacks.
Users can update to Angular SSR versions 21.2.0-rc.1, 21.1.5, 20.3.17, or 19.2.21, all of which include the necessary patch. Alternatively, developers can sanitize the X-Forwarded-Prefix header in their server.ts file before the Angular engine processes the request.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 25, 2026CISA-ADP
Assessed Feb 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/angular/angular-cli/issues/32501 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/angular/angular-cli/commit/877f017ace4b83277d773aa37f5813e5e9faec7e | [email protected] | Source CodeVendor |
| https://github.com/angular/angular-cli/issues/32501 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/angular/angular-cli/pull/32521 | [email protected] | Issue TrackingVendor |
| https://github.com/angular/angular-cli/security/advisories/GHSA-xh43-g2fq-wjrj | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @angular/ssr | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 27, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | New CVE Received | [email protected] |
Volerion