CVE-2025-64745

MEDIUM CVSS 3.1: 6.1 EPSS 0.26%
Updated Oct 18, 2026
Astro
Parameter Value
CVSS 6.1 (MEDIUM)
Affected Versions 5.2.0 — 5.15.6
Fixed In 5.15.6
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Astro
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Astro Astro
cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*
5.2.0 5.15.6