{"id":"CVE-2026-27738","published":"2026-02-25T16:40:44Z","modified":"2026-02-27T20:46:26Z","title":"Angular SSR has an Open Redirect via X-Forwarded-Prefix","vendor":"angular","product":"angular-cli","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00359,"percentile":0.30212,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/angular/angular-cli/security/advisories/GHSA-xh43-g2fq-wjrj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular-cli/issues/32501","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular-cli/pull/32521","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular-cli/commit/877f017ace4b83277d773aa37f5813e5e9faec7e","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.04},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"angular","affectedVersions":[{"vendor":"angular","product":"angular-cli","versions":[">= 21.2.0-next.2, < 21.2.0-rc.0",">= 21.0.0-next.0, < 21.1.5",">= 20.0.0-next.0, < 20.3.17",">= 19.0.0-next.0, < 19.2.21"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-27T20:46:21.327125Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@angular/ssr","vulnerableRanges":[">=21.2.0-next.0, <21.2.0-rc.1",">=21.0.0-next.0, <21.1.5",">=20.0.0-next.0, <20.3.17",">=19.0.0-next.0, <19.2.21"],"patched":["21.2.0-rc.1","21.1.5","20.3.17","19.2.21"],"from":["GHSA-xh43-g2fq-wjrj"],"provenance":"source"}],"summary":{"text":"The Angular SSR component of angular-cli has an Open Redirect flaw in its internal URL processing logic, which strips only a single leading slash from URL segments. An unauthenticated remote attacker can exploit it without user interaction when an Angular SSR application sits behind a proxy or CDN that forwards the X-Forwarded-Prefix header unsanitized and does not vary its cache on that header, supplying a value beginning with three slashes to redirect users to an arbitrary external site.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:24Z"},"euvd":{"id":"EUVD-2026-8687","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-angular-cli-cve-2026-27738","children":[{"from":"CVE-2026-27738","to":"CVE-2026-33397","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"Versions on the 22.x branch prior to 22.0.0-next.2, the 21.x branch prior to 21.2.3, and the 20.x branch prior to 20.3.21 have an Open Redirect vulnerability in `@angular/ssr` due to an incomplete fix for CVE-2026-27738.","from":"CVE.org","in":"CVE-2026-33397"},{"kind":"osv-related","provenance":"source","id":"GHSA-xh43-g2fq-wjrj","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-vfx2-hv2g-xj5f","via":"reference","url":"https://github.com/advisories/GHSA-xh43-g2fq-wjrj"},{"kind":"similar","provenance":"machine","score":0.41,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2025-59052","published":"2025-09-10","fixed":"21.0.0-next.3","kev":false},{"cve":"CVE-2025-62427","published":"2025-10-16","fixed":"21.0.0-next.8","kev":false,"link":{"from":"CVE-2025-62427","to":"CVE-2026-27738","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/ssr","fromFixed":"21.0.0-next.8","toFixed":"21.1.5","daysApart":132},{"kind":"version-step","provenance":"source","package":"npm:@angular/ssr","fromFixed":"20.3.6","toFixed":"20.3.17","daysApart":132}]}},{"cve":"CVE-2026-27738","published":"2026-02-25","fixed":"21.2.0-rc.1","kev":false},{"cve":"CVE-2026-27739","published":"2026-02-25","fixed":"21.2.0-rc.1","kev":false},{"cve":"CVE-2026-33397","published":"2026-03-26","fixed":"22.0.0-next.2","kev":false},{"cve":"CVE-2026-44437","published":"2026-05-13","fixed":"22.0.0-next.7","kev":false}],"package":"npm:@angular/ssr"}}