CVE-2025-58179 in Astro @Astrojs/Cloudflare
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, allow...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Astro | @Astrojs/Cloudflare | ≥ 11.0.3, < 12.6.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-58179 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-305859-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| Published | 2025-09-05 |
| Last modified | 2025-12-22 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-918: Server-Side Request Forgery (SSRF)
Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.
Related attack patterns (CAPEC)
CAPEC-664 Server Side Request Forgery via CWE-918
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Astro versions 11.0.3 through 12.6.5 are vulnerable to Server-Side Request Forgery (SSRF) when using the Cloudflare adapter with specific configurations.
The vulnerability arises from the image optimization endpoint not validating URLs received, enabling attackers to request content from unauthorized third-party domains.
Questions
What is CVE-2025-58179?
Astro versions 11.0.3 through 12.6.5 are vulnerable to Server-Side Request Forgery (SSRF) when using the Cloudflare adapter with specific configurations.
What is the CVSS score for CVE-2025-58179?
CVE-2025-58179 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N. EPSS: 1.0%.
Is CVE-2025-58179 actively exploited?
No confirmed active exploitation of CVE-2025-58179 as of 2026-05-30.
How do I remediate CVE-2025-58179?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-58179?
CVE-2025-58179 affects Astro @Astrojs/Cloudflare.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Astro","product":"@Astrojs/Cloudflare","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-12-22.