Skip to content

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

HighCVSS 7.2 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
astro >= 5.13.4, < 5.13.10 5.13.10 Fixed
npm astro(npm) >= 5.13.4, < 5.13.10 5.13.10 Fixed
withastro astro = >= 5.13.4, < 5.13.10 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm astro(npm) >= 5.13.4, < 5.13.10 5.13.10
withastro astro = >= 5.13.4, < 5.13.10 No fix listed
astro >= 5.13.4, < 5.13.10 5.13.10

References