Reflected Cross-Site Scripting Vulnerability in Astro Web Framework
CVE-2025-64745
2.7LOW
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
