CVE-2025-64745
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-13

Last updated on: 2025-11-25

Assigner: GitHub, Inc.

Description
Astro is a web framework. Starting in version 5.2.0 and prior to version 5.15.6, a Reflected Cross-Site Scripting (XSS) vulnerability exists in Astro's development server error pages when the `trailingSlash` configuration option is used. An attacker can inject arbitrary JavaScript code that executes in the victim's browser context by crafting a malicious URL. While this vulnerability only affects the development server and not production builds, it could be exploited to compromise developer environments through social engineering or malicious links. Version 5.15.6 fixes the issue.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-13
Last Modified
2025-11-25
Generated
2026-05-07
AI Q&A
2025-11-13
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
astro astro From 5.2.0 (inc) to 5.15.6 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart