SSRF in Withastro 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 ha…
Vulnerability class: SSRF (Server-Side Request Forgery)
EPSS: 0.013 (80.2th percentile) — read the EPSS interpretation.
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.
Affected products
- Withastro Astro — versions >= 2.16.0, < 5.15.5
Weakness classification (CWE)
References
- https://github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767 (x_refsource_CONFIRM)
- https://github.com/withastro/astro/commit/dafbb1ba29912099c4faff1440033edc768af8b4 (x_refsource_MISC)
- https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L121 (x_refsource_MISC)
- https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L97 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-64525?
- CVE-2025-64525 is a medium-severity vulnerability in Withastro 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.