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.

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