CVE-2025-64745

Astro development server error page vulnerable to reflected Cross-site Scripting

State
Published
Severity
2.7 Low
Published
Nov 13, 2025
Updated
Nov 13, 2025
Reserved
Nov 10, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.12.7 LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
astrowithastro
  • >= 5.2.0, < 5.15.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.