CVE-2025-65019
Astro Cloudflare adapter has a Stored Cross Site Scripting vulnerability in /_image endpoint
MEDIUM 6.1EPSS 0.3%
Astro is a web framework. Prior to version 5.15.9, when using Astro's Cloudflare adapter (@astrojs/cloudflare) with output: 'server', the image optimization endpoint (/_image) contains a critical vulnerability in the isRemoteAllowed() function that unconditionally allows data: protocol URLs. This enables Cross-Site Scripting (XSS) attacks through malicious SVG payloads, bypassing domain restrictions and Content Security Policy protections. This issue has been patched in version 5.15.9.
- Affected
- withastro · astro
- CVSS v3.1 NVD
- 6.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS v3.1 GITHUB
- 5.4 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N - EPSS
- 0.26% chance of exploitation in the next 30 days, 16th percentile
- Published
- 2025-11-19
Proof-of-concept exploits (1)
Security advisories
- withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39q
- withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533