CVE-2025-65019

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*

History

18 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Astro es un web framework. Versiones anteriores a la versión 5.15.9, al usar el adaptador de Cloudflare de Astro (@astrojs/cloudflare) con output: 'server', el endpoint de optimización de imágenes (/_image) contiene una vulnerabilidad crítica en la función isRemoteAllowed() que permite incondicionalmente URLs con el protocolo data:. Esto permite ataques de Cross-Site Scripting (XSS) a través de cargas útiles SVG maliciosas, eludiendo las restricciones de dominio y las protecciones de la Política de Seguridad de Contenido. Este problema ha sido parcheado en la versión 5.15.9.

25 Nov 2025, 15:09

Type Values Removed Values Added
References () https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533 - () https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533 - Patch
References () https://github.com/withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39q - () https://github.com/withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39q - Exploit, Third Party Advisory
First Time Astro astro
Astro
CPE cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*

19 Nov 2025, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-11-19 17:15

Updated : 2026-10-18 20:10


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')