{"cve":"CVE-2025-64525","nvd":{"published":"2025-11-13T16:15:56.447","modified":"2026-10-07T21:10:00.200","status":"Analyzed","description":"Astro is a web framework. In Astro versions 2.16.0 up to but excluding 5.15.5 which utilizeon-demand rendering, request headers `x-forwarded-proto` and `x-forwarded-port` are insecurely used, without sanitization, to build the URL. This has several consequences, the most important of which are: middleware-based protected route bypass (only via `x-forwarded-proto`), DoS via cache poisoning (if a CDN is present), SSRF (only via `x-forwarded-proto`), URL pollution (potential SXSS, if a CDN is present), and WAF bypass. Version 5.15.5 contains a patch.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5},"cwes":["CWE-918"],"references":["https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L121","https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L97","https://github.com/withastro/astro/commit/dafbb1ba29912099c4faff1440033edc768af8b4","https://github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767"],"products":["astro:astro"],"source":"nvd","synced_at":"2026-10-19T22:16:02.354564667+00:00"},"epss":{"cve":"CVE-2025-64525","score":0.01245,"percentile":0.69101,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-hr2q-hp5q-x767","url":"https://osv.dev/vulnerability/GHSA-hr2q-hp5q-x767","summary":"Astro vulnerable to URL manipulation via headers, leading to middleware and CVE-2025-61925 bypass","modified":"2025-11-13T22:46:24Z","packages":[{"ecosystem":"npm","name":"astro","purl":"pkg:npm/astro","ranges":[">=2.16.0 <5.15.5"],"fixed":["5.15.5"]}]}],"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."]}