SSRF in Astro
CVE-2025-64525
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS: 0.012 (68.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 69th percentile — 68.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: +0.001
Affected products
- Astro
- Withastro Astro — versions >= 2.16.0, < 5.15.5
Weakness classification (CWE)
References
- github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767 (Exploit, Third Party Advisory)
- github.com/withastro/astro/commit/dafbb1ba29912099c4faff1440033edc768af8b4 (Patch)
- github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packag… (Product)
- github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packag… (Product)
Frequently asked questions
- What is CVE-2025-64525?
- CVE-2025-64525 is a medium-severity vulnerability in Astro, classified under Server-Side Request Forgery (SSRF). CVSS score: 6.5/10. Published 2025-11-13.
- How severe is CVE-2025-64525?
- Medium severity. CVSS v3 base score is 6.5 out of 10.