{"id":"CVE-2025-58179","state":"PUBLISHED","title":"Astro Cloudflare adapter is vulnerable to Server-Side Request Forgery via /_image endpoint","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.","publishedAt":"2025-09-04T23:36:44.393Z","updatedAt":"2025-09-05T14:53:29.299Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["withastro astro"],"affected":[{"vendor":"withastro","product":"astro","versions":[{"version":">= 11.0.3, < 12.6.6","status":"affected"}]}],"references":["https://github.com/withastro/astro/security/advisories/GHSA-qpr4-c339-7vq8","https://github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/58xxx/CVE-2025-58179.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-58179","state":"PUBLISHED","datePublished":"2025-09-04T23:36:44.393Z","dateUpdated":"2025-09-05T14:53:29.299Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-08-27T13:34:56.190Z"},"containers":{"cna":{"title":"Astro Cloudflare adapter is vulnerable to Server-Side Request Forgery via /_image endpoint","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"withastro","product":"astro","versions":[{"version":">= 11.0.3, < 12.6.6","status":"affected"}]}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-qpr4-c339-7vq8","name":"https://github.com/withastro/astro/security/advisories/GHSA-qpr4-c339-7vq8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252","name":"https://github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-09-04T23:36:44.393Z"},"source":{"advisory":"GHSA-qpr4-c339-7vq8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-05T14:53:18.491800Z","id":"CVE-2025-58179","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-05T14:53:29.299Z"}}]}}}