
Cloud Vulnerability DB
A community-led vulnerabilities database
Astro, a web framework for content-driven websites, disclosed a Server-Side Request Forgery (SSRF) vulnerability identified as CVE-2025-58179. The vulnerability affects versions 11.0.3 through 12.6.5 when using Astro's Cloudflare adapter with specific configurations. The issue was discovered and disclosed on September 4, 2025, impacting systems using the @astrojs/cloudflare adapter configured with output: 'server' while using the default imageService: 'compile' (GitHub Advisory).
The vulnerability stems from a flaw in the image optimization endpoint that fails to properly validate URLs it receives. When configured with output: 'server' and using the default imageService: 'compile', the generated image optimization endpoint doesn't perform proper URL validation checks. The vulnerability has been assigned a CVSS v3.1 base score of 7.2 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N. The issue is classified under CWE-918 (Server-Side Request Forgery) (GitHub Advisory).
The vulnerability allows attackers to bypass third-party domain restrictions and serve unauthorized content from the vulnerable origin. This could lead to Server-Side Request Forgery (SSRF) attacks and potentially Cross-Site Scripting (XSS) if users follow maliciously crafted URLs. The impact includes the potential for unauthorized content serving and security scope breaches (GitHub Advisory).
The vulnerability has been patched in version 12.6.6 of the @astrojs/cloudflare adapter. Users are strongly advised to upgrade to this version or later to address the security issue. The fix implements proper URL validation checks for the image optimization endpoint (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."