astro allows bypass of image proxy domain validation leading to SSRF and potential XSS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| withastro | astro | 5.13.4 to before 5.13.10 | 5.13.10 | Patch available | CNA |
| — | astro (npm) | 5.13.4 to before 5.13.10 | 5.13.10 | Patch available | GHSA-qcpr-679q-rhm2 |
- astro Vendorwithastro Affected 5.13.4 to before 5.13.10 Fixed in 5.13.10 Patch available CNA
- astro (npm) Vendor— Affected 5.13.4 to before 5.13.10 Fixed in 5.13.10 Patch available GHSA-qcpr-679q-rhm2
Remediation
- Fix · CNA astro (withastro) Fixed in 5.13.10
- Fix · GHSA-qcpr-679q-rhm2 astro (npm) Fixed in 5.13.10 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-59837
- 2026-10-03 Alias added: GHSA-qcpr-679q-rhm2
References
Patch 2
More withastro Astro vulnerabilities
- TI-2024-37142 Server source code is exposed to the public if sourcemaps are enabled CVSS 4.0HIGH 7.8
- TI-2025-34958 Unauthorized third-party images in Astro’s _image endpoint CVSS 4.0MEDIUM 6.9
- TI-2025-39915 Server-side request forgery in withastro astro CVSS 3.1MEDIUM 6.5
- TI-2025-38274 Astro's `X-Forwarded-Host` is reflected with no validation CVSS 3.1MEDIUM 6.5
- TI-2026-36915 Astro: Reflected XSS via unescaped slot name CVSS 3.1HIGH 7.1
- TI-2025-40102 Astro is vulnerable to Reflected XSS via the server islands feature CVSS 3.1HIGH 7.1
Sources
- CVE-2025-59837 · CVE Program
- CVE-2025-59837 · NVD
- FIRST EPSS
- GHSA-qcpr-679q-rhm2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences