CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Astro

CVE-2025-64745
Astro vulnerability

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.

Affected products

Astro. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Astro runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Astro products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.