7.2high
astro allows bypass of image proxy domain validation leading to SSRF and potential XSS
- Severity
- 7.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qcpr-679q-rhm2
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
| Product or package | Versions | Reported by |
|---|---|---|
| withastro astro | >= 5.13.4, < 5.13.10 | CVE List |
| astro (npm) | from 5.13.4 before 5.13.10 | GitHub Advisory Database |
| astro astro | from 5.13.4 before 5.13.10 | NVD |
All scores
| GitHub_M | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Summary
This is a patch bypass of CVE-2025-58179 in commit 9ecf359. The fix blocks http://, https:// and //, but can be bypassed using backslashes (\) - the endpoint still issues a server-side fetch.
PoC
NVD (es)
Astro es un framework web que incluye un proxy de imágenes. En las versiones 5.13.4 y posteriores anteriores a la 5.13.10, la validación de dominio del proxy de imágenes puede ser eludida usando barras invertidas en el parámetro href, permitiendo peticiones del lado del servidor a URLs arbitrarias. Esto puede llevar a la falsificación de petición del lado del servidor (SSRF) y potencialmente a cross-site scripting (XSS). Esta vulnerabilidad existe debido a una corrección incompleta para CVE-2025-58179. Corregido en 5.13.10.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-59837 changed 2025-10-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qcpr-679q-rhm2 changed 2025-10-29 | CC-BY-4.0 |
| NVD | CVE-2025-59837 changed 2026-10-08 | Public domain |