{"answers":{"affected":"8 open source packages ship an affected version, including @angular/ssr.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27738 exists.","fix":"Upgrade @angular/ssr to a fixed version for your release line: 19.2.21, 20.3.17, 21.1.5 or 21.2.0-rc.1.","what":"CVE-2026-27738 is a medium-severity vulnerability in angular-cli, published on 25 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27738 and fix it if it is affected.\n\nWhat it is: CVE-2026-27738 is a medium-severity vulnerability in angular-cli, published on 25 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27738 exists.\n\nAffected packages and fixed versions:\n- @angular/ssr (npm): affected from 19.0.0-next.0; fixed in 19.2.21\n- @angular/ssr (npm): affected from 19.0.0-next.0; fixed in 19.2.21\n- @angular/ssr (npm): affected from 20.0.0-next.0; fixed in 20.3.17\n- @angular/ssr (npm): affected from 20.0.0-next.0; fixed in 20.3.17\n- @angular/ssr (npm): affected from 21.0.0-next.0; fixed in 21.1.5\n- @angular/ssr (npm): affected from 21.0.0-next.0; fixed in 21.1.5\n- @angular/ssr (npm): affected from 21.2.0-next.0; fixed in 21.2.0-rc.1\n- @angular/ssr (npm): affected from 21.2.0-next.0; fixed in 21.2.0-rc.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-27738/ (Markdown: https://insights.sbomify.com/CVE-2026-27738/index.md)","id":"CVE-2026-27738","markdown":"https://insights.sbomify.com/CVE-2026-27738/index.md","name":"CVE-2026-27738","record":{"aliases":["GHSA-xh43-g2fq-wjrj"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Angular SSR library","requires_auth":"none","summary":"Attackers can exploit improper URL normalization in Angular SSR to perform open redirects, enabling phishing and SEO hijacking when specific proxy headers are used.","user_interaction":"not_required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Angular SSR has an Open Redirect via X-Forwarded-Prefix","id":"CVE-2026-27738","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"open_redirect","year":"2026"},"n_packages":8,"n_references":4,"next":{"headline":"Angular SSR is vulnerable to SSRF and Header Injection via request handling pipeline","id":"CVE-2026-27739"},"packages":[{"ecosystem":"npm","fixed":["19.2.21"],"introduced":["19.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":null,"source":"GHSA-xh43-g2fq-wjrj"},{"ecosystem":"npm","fixed":["19.2.21"],"introduced":["19.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":"pkg:npm/%40angular/ssr","source":"GHSA-xh43-g2fq-wjrj"},{"ecosystem":"npm","fixed":["20.3.17"],"introduced":["20.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":null,"source":"GHSA-xh43-g2fq-wjrj"},{"ecosystem":"npm","fixed":["20.3.17"],"introduced":["20.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":"pkg:npm/%40angular/ssr","source":"GHSA-xh43-g2fq-wjrj"},{"ecosystem":"npm","fixed":["21.1.5"],"introduced":["21.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":null,"source":"GHSA-xh43-g2fq-wjrj"},{"ecosystem":"npm","fixed":["21.1.5"],"introduced":["21.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":"pkg:npm/%40angular/ssr","source":"GHSA-xh43-g2fq-wjrj"},{"ecosystem":"npm","fixed":["21.2.0-rc.1"],"introduced":["21.2.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":null,"source":"GHSA-xh43-g2fq-wjrj"},{"ecosystem":"npm","fixed":["21.2.0-rc.1"],"introduced":["21.2.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":"pkg:npm/%40angular/ssr","source":"GHSA-xh43-g2fq-wjrj"}],"prev":{"headline":"BigBlueButton has Stored XSS in bbb-playback replay","id":"CVE-2026-27737"},"products":["angular-cli"],"published":"2026-02-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-27","vendors":["angular"]},"summary":"Attackers can exploit improper URL normalization in Angular SSR to perform open redirects, enabling phishing and SEO hijacking when specific proxy headers are used.","url":"https://insights.sbomify.com/CVE-2026-27738/"}