CVE-2025-59837
HIGH 7.2CVSS 3.1Astro's bypass of image proxy domain validation leads to SSRF and potential XSS
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.
- Published
- 28 Oct 2025
- Last modified
- 8 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79CWE-918
- Also known as
- GHSA-qcpr-679q-rhm2
- Sources
- NVDJSONOSV GHSA-qcpr-679q-rhm2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | astro | astrocpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:* |
>= 5.13.4, < 5.13.10 | 5.13.10 |
| OSV | npm | astro | >= 5.13.4, < 5.13.10 | 5.13.10 |
References
- https://github.com/withastro/astro/commit/1e2499e8ea83ebfa233a18a7499e1ccf169e56f4 · Patch, WEB
- https://github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252 · Patch, WEB
- https://github.com/withastro/astro/security/advisories/GHSA-qcpr-679q-rhm2 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-59837 · ADVISORY
- https://github.com/withastro/astro · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 28 Oct 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Oct 2025)