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

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-10-28T17:45:04.000Z
- Modified: 2026-10-08T11:10:00.250Z
- Also known as: GHSA-qcpr-679q-rhm2
- Weaknesses: CWE-79, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- withastro astro: >= 5.13.4, < 5.13.10
- astro (npm): from 5.13.4 before 5.13.10
- astro astro: from 5.13.4 before 5.13.10

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/withastro/astro/security/advisories/GHSA-qcpr-679q-rhm2> (exploit, third-party-advisory, web)
- <https://github.com/withastro/astro/commit/1e2499e8ea83ebfa233a18a7499e1ccf169e56f4> (patch, web)
- <https://github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59837> (advisory)
- <https://github.com/withastro/astro> (package)

## Sources

- CVE List: [CVE-2025-59837](https://www.cve.org/CVERecord?id=CVE-2025-59837), CVE Terms of Use, modified 2025-10-29
- GitHub Advisory Database: [GHSA-qcpr-679q-rhm2](https://github.com/advisories/GHSA-qcpr-679q-rhm2), CC-BY-4.0, modified 2025-10-29
- NVD: [CVE-2025-59837](https://nvd.nist.gov/vuln/detail/CVE-2025-59837), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2025-59837 · Whole record: https://cve.day/CVE-2025-59837.json · Rebuilt by cve.day 2026-11-25T22:59:06.968Z
