{"id":"CVE-2025-65019","state":"PUBLISHED","title":"Astro Cloudflare adapter has a Stored Cross Site Scripting vulnerability in /_image endpoint","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.","publishedAt":"2025-11-19T16:40:47.826Z","updatedAt":"2025-11-19T21:05:19.247Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["withastro astro"],"affected":[{"vendor":"withastro","product":"astro","versions":[{"version":"< 5.15.9","status":"affected"}]}],"references":["https://github.com/withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39q","https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/65xxx/CVE-2025-65019.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-65019","state":"PUBLISHED","datePublished":"2025-11-19T16:40:47.826Z","dateUpdated":"2025-11-19T21:05:19.247Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-11-13T15:36:51.680Z"},"containers":{"cna":{"title":"Astro Cloudflare adapter has a Stored Cross Site Scripting vulnerability in /_image endpoint","descriptions":[{"lang":"en","value":"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":[{"vendor":"withastro","product":"astro","versions":[{"version":"< 5.15.9","status":"affected"}]}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39q","name":"https://github.com/withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533","name":"https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-11-19T16:40:47.826Z"},"source":{"advisory":"GHSA-fvmw-cj7j-j39q","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-19T21:05:09.306723Z","id":"CVE-2025-65019","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-19T21:05:19.247Z"}}]}}}