{"cve":"CVE-2025-62427","nvd":{"published":"2025-10-16T19:15:35.293","modified":"2026-10-09T10:10:00.193","status":"Deferred","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.","cvss_v4":{"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","score":8.7},"cvss_v3":null,"cwes":["CWE-918"],"references":["https://github.com/angular/angular-cli/commit/5271547c80662de10cb3bcb648779a83f6efedfb","https://github.com/angular/angular-cli/security/advisories/GHSA-q63q-pgmf-mxhr"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:12:35.277909958+00:00"},"epss":{"cve":"CVE-2025-62427","score":0.00432,"percentile":0.37139,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-q63q-pgmf-mxhr","url":"https://osv.dev/vulnerability/GHSA-q63q-pgmf-mxhr","summary":"Angular SSR has a Server-Side Request Forgery (SSRF) flaw","modified":"2025-10-16T21:55:01Z","packages":[{"ecosystem":"npm","name":"@angular/ssr","purl":"pkg:npm/%40angular/ssr","ranges":[">=19.0.0-next.0 <19.2.18"],"fixed":["19.2.18"]},{"ecosystem":"npm","name":"@angular/ssr","purl":"pkg:npm/%40angular/ssr","ranges":[">=20.0.0-next.0 <20.3.6"],"fixed":["20.3.6"]},{"ecosystem":"npm","name":"@angular/ssr","purl":"pkg:npm/%40angular/ssr","ranges":[">=21.0.0-next.0 <21.0.0-next.8"],"fixed":["21.0.0-next.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}