- 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.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
- Products
- astro
CVSS 3.1
- Type
- Primary
- Base score
- 6.1
- Impact score
- 2.7
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Severity
- MEDIUM
- security-advisories@github.com
- CWE-79
- Hype score
- Not currently trending
I discovered my first two CVEs while researching the Astro framework (800k+ weekly downloads, 50k+⭐). • CVE-2025-65019: XSS via unsafe data: protocol in image loading • CVE-2025-66202: Path-based middleware auth bypass (bypasses CVE-2025-64765 using dpl URL encoding. https
@zomasec
27 Nov 2025
154 Impressions
0 Retweets
5 Likes
0 Bookmarks
1 Reply
0 Quotes
CVE-2025-65019 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 … https://t.co/4IE4yKU6f1
@CVEnew
19 Nov 2025
177 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*",
"matchCriteriaId": "30331D9E-36BD-4BF6-88C3-A8BE37A3E6C8",
"versionEndExcluding": "5.15.9",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]