Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Astro | Astro | >= 2.16.0, < 5.15.5 |
Related Weaknesses (CWE)
References
- https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097Product
- https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097Product
- https://github.com/withastro/astro/commit/dafbb1ba29912099c4faff1440033edc768af8Patch
- https://github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767ExploitThird Party Advisory
FAQ
What is CVE-2025-64525?
CVE-2025-64525 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ...
How severe is CVE-2025-64525?
CVE-2025-64525 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-64525?
Check the references section above for vendor advisories and patch information. Affected products include: Astro Astro.