CVE-2025-64745
BaseFortify
Publication date: 2025-11-13
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 | From 5.2.0 (inc) to 5.15.6 (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 is a Reflected Cross-Site Scripting (XSS) issue in Astro's development server error pages when the 'trailingSlash' configuration option is used. It allows an attacker to inject and execute arbitrary JavaScript code in the victim's browser by crafting a malicious URL. This affects only the development server and not production builds.
How can this vulnerability impact me? :
The vulnerability could be exploited to compromise developer environments through social engineering or malicious links, potentially allowing attackers to execute arbitrary JavaScript in the developer's browser context. However, it does not affect production environments.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, upgrade Astro to version 5.15.6 or later. Avoid using the vulnerable versions (5.2.0 up to but not including 5.15.6) in development environments, especially when the trailingSlash configuration option is enabled. Additionally, be cautious with links and inputs in developer environments to reduce risk from social engineering.