Moderate severityNVD Advisory· Published Nov 19, 2025· Updated Nov 19, 2025
Astro Cloudflare adapter has a Stored Cross Site Scripting vulnerability in /_image endpoint
CVE-2025-65019
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
astronpm | < 5.15.9 | 5.15.9 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-fvmw-cj7j-j39qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-65019ghsaADVISORY
- github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533ghsax_refsource_MISCWEB
- github.com/withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39qghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.