Skip to main content
← All vulnerabilities
CVE-2025-64745GHSA-W2VJ-39QV-7VH7

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • withastro astro

    From 5.2.0 · fixed in 5.15.6

  • astronpm

    From 5.2.0 · fixed in 5.15.6

References 4

GitHub · withastro/astro