CVE-2025-58179: Server-Side Request Forgery via /_image endpoint in Astro Cloudflare adapter
(updated )
When using Astro’s Cloudflare adapter (@astrojs/cloudflare
) configured with output: 'server'
while using the default imageService: 'compile'
, the generated image optimization endpoint doesn’t check the URLs it receives, allowing content from unauthorized third-party domains to be served.
References
Code Behaviors & Features
Detect and mitigate CVE-2025-58179 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →