CVE-2025-58179 Details
Description
Astro is a web framework for content-driven websites. Versions 11.0.3 through 12.6.5 are vulnerable to SSRF when using Astro's Cloudflare adapter. When 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. a A bug in impacted versions of the @astrojs/cloudflare adapter for deployment on Cloudflare’s infrastructure, allows an attacker to bypass the third-party domain restrictions and serve any content from the vulnerable origin. This issue is fixed in version 12.6.6.
A server-side request forgery (SSRF) vulnerability has been identified in the Astro web framework's Cloudflare adapter, affecting versions 11.0.3 through 12.6.5. When the adapter is configured with 'output: server' and the default 'imageService: compile', the generated image optimization endpoint fails to validate the URLs it receives. This oversight allows content from unauthorized third-party domains to be served, bypassing intended restrictions. The vulnerability arises from a bug in the Cloudflare adapter that enables the exploitation of the image optimization endpoint.
Users can update to Astro Cloudflare adapter version 12.6.6 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| astro @astrojs/cloudflare | >= 11.0.3, < 12.6.6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 22, 2025 | Initial Analysis | [email protected] |
| Sep 5, 2025 | New CVE Received | [email protected] |