CVE Catalog

CVE-2025-64745

LowCVSS 2.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

17th percentile - higher than 17% of all known CVEs

Summary

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 that executes in the victim's browser context via a crafted URL. The issue only affects the development server, not production builds, and is fixed in version 5.15.6.

Risk Assessment

Although production is unaffected, the flaw could be exploited to compromise developer environments through social engineering or malicious links, potentially leading to further attacks against the organization.

Recommendation

Upgrade Astro to version 5.15.6 or later. Avoid exposing the development server on public interfaces and educate developers about the risks of malicious links.

Other vulnerabilities in Astro

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS