Reflected Cross-Site Scripting Vulnerability in Astro Web Framework
CVE-2025-64745

2.7LOW

Key Information:

Vendor

Withastro

Status
Vendor
CVE Published:
13 November 2025

What is CVE-2025-64745?

A reflected cross-site scripting vulnerability exists in the Astro web framework's development server error pages, specifically when the trailingSlash configuration option is in use. This flaw could allow an attacker to inject arbitrary JavaScript, which would execute in the context of the victim's browser. While the vulnerability is confined to the development environment and does not impact production versions, it poses a risk of exploitation through social engineering tactics or malicious links. It is crucial for developers using affected versions, ranging from 5.2.0 to 5.15.6, to upgrade to version 5.15.6, which rectifies this security issue.

Affected Version(s)

astro >= 5.2.0, < 5.15.6

References

CVSS V3.1

Score:
2.7
Severity:
LOW
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-64745 : Reflected Cross-Site Scripting Vulnerability in Astro Web Framework