Astro Cloudflare adapter is vulnerable to Server-Side Request Forgery via /_image endpoint
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| withastro | astro | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Withastro | Astro | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-26878 | 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. |
Github GHSA |
GHSA-qpr4-c339-7vq8 | Server-Side Request Forgery via /_image endpoint in Astro Cloudflare adapter |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.870% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Astro
Astro \@astrojs\/cloudflare |
|
| CPEs | cpe:2.3:a:astro:\@astrojs\/cloudflare:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Astro
Astro \@astrojs\/cloudflare |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Withastro
Withastro astro |
|
| Vendors & Products |
Withastro
Withastro astro |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Astro Cloudflare adapter is vulnerable to Server-Side Request Forgery via /_image endpoint | |
| Weaknesses | CWE-918 | |
| References |
| |
| Metrics |
cvssV3_1
|