Live threats

All CVEs / Astro

CVE-2025-65019Astro

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
—
Auth required
No
Published
Nov 19, 2025
Updated
Oct 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Astro.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm astro < 5.15.9 5.15.9 npm install astro@5.15.9

Per OSV / GitHub Advisories (GHSA-fvmw-cj7j-j39q). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
astroastro< 5.15.9

Official sources

References

Links published by the sources. Open them with care.