CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Astro

CVE-2025-65019
Astro vulnerability

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

Astro. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Astro runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Astro products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.