HighGHSA-qcpr-679q-rhm2CVE-2025-59837
Astro's bypass of image proxy domain validation leads to SSRF and potential XSS
Published 28 Oct 2025 · Updated 29 Oct 2025
Affected package
astronpm
- Affected
- >=5.13.4 <5.13.10
- Fixed in
- 5.13.10
Update to the fixed version for your release line, for example:
npm install astro@5.13.10Details
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
Is GHSA-qcpr-679q-rhm2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected astro, and gives you the command that fixes it.
References
- Linkgithub.com/withastro/astro/security/advisories/GHSA-qcpr-679q-rhm2
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-59837
- Linkgithub.com/withastro/astro/commit/1e2499e8ea83ebfa233a18a7499e1ccf169e56f4
- Linkgithub.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252
- Packagegithub.com/withastro/astro
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.