Server-Side Request Forgery Vulnerability in Astro Web Framework by Astro
CVE-2025-58179
7.2HIGH
What is CVE-2025-58179?
A vulnerability exists in the Astro web framework, specifically in versions 11.0.3 through 12.6.5, that allows Server-Side Request Forgery when using the Cloudflare adapter. This issue arises when configured with output: 'server' and default imageService: 'compile'. Under these conditions, the optimization endpoint fails to validate incoming URLs, potentially permitting unauthorized content from third-party domains to be served. This security flaw has been addressed in version 12.6.6.
Affected Version(s)
astro >= 11.0.3, < 12.6.6
