5.4
/ 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Description
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.
Basic Information
ID
CVE-2025-65019
Source
GitHub_M
Published
Nov 19, 2025 at 16:40
Modified
Nov 19, 2025 at 21:05
Affected Product
Vendor
withastro
Product
astro
Version
< 5.15.9
Affected Versions
withastro astro < 5.15.9