Vulnerability

CVE-2025-65019

mediumCVSS 3.1 6.1Published 19 Nov 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Astro astro

Weakness type

References

  • github.com /withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f6801…
  • github.com /withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39q

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning