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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-w2vj-39qv-7vh7 Astro development server error page vulnerable to reflected Cross-site Scripting
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 13 Nov 2025 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 13 Nov 2025 20:45:00 +0000

Type Values Removed Values Added
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.
Title Astro development server error page vulnerable to reflected Cross-site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 2.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-11-13T21:20:30.228Z

Reserved: 2025-11-10T22:29:34.871Z

Link: CVE-2025-64745

cve-icon Vulnrichment

Updated: 2025-11-13T21:20:25.712Z

cve-icon NVD

Status : Received

Published: 2025-11-13T21:15:54.240

Modified: 2025-11-13T21:15:54.240

Link: CVE-2025-64745

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.