Vulnerability

CVE-2025-64745

mediumCVSS 3.1 6.1Published 13 Nov 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Astro astro

Weakness type

References

  • github.com /withastro/astro/blob/5bc37fd5cade62f753aef66efdf40f9823790…
  • github.com /withastro/astro/commit/790d9425f39bbbb462f1c27615781cd9650…
  • github.com /withastro/astro/pull/12994
  • github.com /withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning