What’s Vulnerable › Vulnerabilities

CVE-2025-59837: astro allows bypass of image proxy domain validation leading to SSRF and potential XSS

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

How to fix

Upgrade to a fixed version: withastro astro 5.13.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-59837 or the next vulnerability affects your stack