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.
References
| Link | Resource |
|---|---|
| https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533 | Patch |
| https://github.com/withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39q | Exploit Third Party Advisory |
Configurations
History
25 Nov 2025, 15:09
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:* | |
| First Time |
Astro astro
Astro |
|
| References | () https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533 - Patch | |
| References | () https://github.com/withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39q - Exploit, Third Party Advisory |
19 Nov 2025, 17:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-11-19 17:15
Updated : 2025-11-25 15:09
NVD link : CVE-2025-65019
Mitre link : CVE-2025-65019
CVE.ORG link : CVE-2025-65019
JSON object : View
Products Affected
astro
- astro
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
