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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/withastro/astro/security/advisories/GHSA-qcpr-679q-rhm2 exploit third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/withastro/astro/commit/1e2499e8ea83ebfa233a18a7499e1ccf169e56f4 patch
- https://github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252 patch
- github.com
- github.com product