CVE-2025-65019
BaseFortify
Publication date: 2025-11-19
Last updated on: 2025-11-25
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| astro | astro | to 5.15.9 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in Astro's Cloudflare adapter when using output: 'server' prior to version 5.15.9. The image optimization endpoint (/_image) has a critical flaw in the isRemoteAllowed() function that incorrectly allows data: protocol URLs. This flaw enables Cross-Site Scripting (XSS) attacks via malicious SVG payloads, bypassing domain restrictions and Content Security Policy protections.
How can this vulnerability impact me? :
The vulnerability can lead to Cross-Site Scripting (XSS) attacks, which may allow attackers to execute malicious scripts in users' browsers. This can result in unauthorized actions, data theft, session hijacking, or other malicious activities, compromising the security and integrity of your web application and its users.
What immediate steps should I take to mitigate this vulnerability?
Upgrade Astro to version 5.15.9 or later, as this version contains the patch that fixes the critical vulnerability in the image optimization endpoint. Until the upgrade is applied, consider disabling the use of the Cloudflare adapter with output set to 'server' to prevent exploitation.