CVE-2025-65019
MEDIUM 6.1CVSS 3.1Astro Cloudflare adapter has Stored Cross-site Scripting vulnerability in /_image endpoint
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
- 19 Nov 2025
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-fvmw-cj7j-j39q
- Sources
- NVDJSONOSV GHSA-fvmw-cj7j-j39qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | astro | astrocpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:* |
< 5.15.9 | 5.15.9 |
| OSV | npm | astro | < 5.15.9 | 5.15.9 |
References
- https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533 · Patch, WEB
- https://github.com/withastro/astro/security/advisories/GHSA-fvmw-cj7j-j39q · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-65019 · ADVISORY
- https://github.com/withastro/astro · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 19 Nov 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Nov 2025)