{"id":"CVE-2025-65019","aliases":["GHSA-fvmw-cj7j-j39q"],"url":"https://o3.security/vulnerability/CVE-2025-65019","summary":"Astro Cloudflare adapter has a Stored Cross Site Scripting vulnerability in /_image endpoint","details":"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.","published":"2025-11-19T16:40:47.826Z","modified":"2026-08-12T03:51:26.665930815Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"astro","fixedVersion":"5.15.9"}],"fix":{"url":"https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533","label":"withastro/astro@9e9c528"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65019.json"},{"type":"ADVISORY","url":"https://github.com/withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65019"},{"type":"FIX","url":"https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:26.665930815Z"}}