{"answers":{"affected":"6 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-2025-62427 exists.","fix":"Upgrade @angular/ssr to a fixed version for your release line: 19.2.18, 20.3.6 or 21.0.0-next.8.","what":"CVE-2025-62427 is a high-severity server-side request forgery vulnerability in angular-cli, published on 16 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-62427 and fix it if it is affected.\n\nWhat it is: CVE-2025-62427 is a high-severity server-side request forgery vulnerability in angular-cli, published on 16 Oct 2025. 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-2025-62427 exists.\n\nAffected packages and fixed versions:\n- @angular/ssr (npm): affected from 19.0.0-next.0; fixed in 19.2.18\n- @angular/ssr (npm): affected from 19.0.0-next.0; fixed in 19.2.18\n- @angular/ssr (npm): affected from 20.0.0-next.0; fixed in 20.3.6\n- @angular/ssr (npm): affected from 20.0.0-next.0; fixed in 20.3.6\n- @angular/ssr (npm): affected from 21.0.0-next.0; fixed in 21.0.0-next.8\n- @angular/ssr (npm): affected from 21.0.0-next.0; fixed in 21.0.0-next.8\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-2025-62427/ (Markdown: https://insights.sbomify.com/CVE-2025-62427/index.md)","id":"CVE-2025-62427","markdown":"https://insights.sbomify.com/CVE-2025-62427/index.md","name":"CVE-2025-62427","record":{"aliases":["GHSA-q63q-pgmf-mxhr"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Angular SSR library","requires_auth":"none","summary":"Attackers can force Angular SSR servers to make requests to arbitrary external domains by manipulating URL paths, potentially exposing internal data or bypassing security controls.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"The Angular SSR is a server-rise rendering tool for Angular applications. The vulnerability is a Server-Side Request Forgery (SSRF) flaw within the URL resolution mechanism of Angular's Server-Side Rendering package (@angular/ssr) before 19.2.18, 20.3.6, and 21.0.0-next.8. The function createRequestUrl uses the native URL constructor. When an incoming request path (e.g., originalUrl or url) begins with a double forward slash (//) or backslash (\\\\), the URL constructor treats it as a schema-relative URL. This behavior overrides the security-intended base URL (protocol, host, and port) supplied as the second argument, instead resolving the URL against the scheme of the base URL but adopting the attacker-controlled hostname. This allows an attacker to specify an external domain in the URL path, tricking the Angular SSR environment into setting the page's virtual location (accessible via DOCUMENT or PlatformLocation tokens) to this attacker-controlled domain. Any subsequent relative HTTP requests made during the SSR process (e.g., using HttpClient.get('assets/data.json')) will be incorrectly resolved against the attacker's domain, forcing the server to communicate with an arbitrary external endpoint. This vulnerability is fixed in 19.2.18, 20.3.6, and 21.0.0-next.8.","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":"Server-Side Request Forgery (SSRF) in Angular SSR","id":"CVE-2025-62427","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2025"},"n_packages":6,"n_references":2,"next":{"headline":"Drawing-Captcha APP Host Header Injection in `/register` and `/confirm-email` Endpoints","id":"CVE-2025-62428"},"packages":[{"ecosystem":"npm","fixed":["19.2.18"],"introduced":["19.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":null,"source":"GHSA-q63q-pgmf-mxhr"},{"ecosystem":"npm","fixed":["19.2.18"],"introduced":["19.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":"pkg:npm/%40angular/ssr","source":"GHSA-q63q-pgmf-mxhr"},{"ecosystem":"npm","fixed":["20.3.6"],"introduced":["20.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":null,"source":"GHSA-q63q-pgmf-mxhr"},{"ecosystem":"npm","fixed":["20.3.6"],"introduced":["20.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":"pkg:npm/%40angular/ssr","source":"GHSA-q63q-pgmf-mxhr"},{"ecosystem":"npm","fixed":["21.0.0-next.8"],"introduced":["21.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":null,"source":"GHSA-q63q-pgmf-mxhr"},{"ecosystem":"npm","fixed":["21.0.0-next.8"],"introduced":["21.0.0-next.0"],"last_affected":[],"package":"@angular/ssr","purl":"pkg:npm/%40angular/ssr","source":"GHSA-q63q-pgmf-mxhr"}],"prev":{"headline":"vLLM vulnerable to DoS via large Chat Completion or Tokenization requests with specially crafted `chat_template_kwargs`","id":"CVE-2025-62426"},"products":["angular-cli"],"published":"2025-10-16","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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-17","vendors":["angular"]},"summary":"Attackers can force Angular SSR servers to make requests to arbitrary external domains by manipulating URL paths, potentially exposing internal data or bypassing security controls.","url":"https://insights.sbomify.com/CVE-2025-62427/"}