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.
History

Fri, 14 Nov 2025 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Withastro
Withastro astro
Vendors & Products Withastro
Withastro astro

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: 2025-11-13T20:26:13.261Z

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 : Awaiting Analysis

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

Modified: 2025-11-14T16:42:03.187

Link: CVE-2025-64745

cve-icon Redhat

No data.