What’s Vulnerable › Vulnerabilities
CVE-2025-59837: astro allows bypass of image proxy domain validation leading to SSRF and potential XSS
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-10-28 · updated 2026-10-08
- Weakness: CWE-79
Description
Astro is a web framework that includes an image proxy. In versions 5.13.4 and later before 5.13.10, the image proxy domain validation can be bypassed by using backslashes in the href parameter, allowing server-side requests to arbitrary URLs. This can lead to server-side request forgery (SSRF) and potentially cross-site scripting (XSS). This vulnerability exists due to an incomplete fix for CVE-2025-58179. Fixed in 5.13.10.
Affected products
- withastro astro: from 5.13.4 before 5.13.10 — fixed in 5.13.10
How to fix
Upgrade to a fixed version: withastro astro 5.13.10. Check the vendor advisory for mitigations.
References
- https://github.com/withastro/astro/commit/1e2499e8ea83ebfa233a18a7499e1ccf169e56f4
- https://github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252
- https://github.com/withastro/astro/security/advisories/GHSA-qcpr-679q-rhm2
Get alerted when CVE-2025-59837 or the next vulnerability affects your stack