CVE-2025-65019
CVE-2025-65019 · Astro Cloudflare adapter has a Stored Cross Site Scripting vulnerability in /_image endpoint
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.4 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Stack: node