CVE-2025-65019

MEDIUM CVSS 3.1: 6.1 EPSS 0.27%
Updated Oct 18, 2026
Astro
Parameter Value
CVSS 6.1 (MEDIUM)
Affected Versions before 5.15.9
Fixed In 5.15.9
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Astro
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Astro Astro
cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*
— 5.15.9