CVE 5.4 MEDIUM

Astro Cloudflare adapter has a Stored Cross Site Scripting vulnerability in /_image endpoint_CVE-2025-65019

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

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.