CVE-2025-64745

MEDIUM EPSS 11.1%
Published Nov 13, 20257mo ago · Modified Jun 17, 20262w ago
6.1 CVSS 3.1
Medium
Find Similar
Published Nov 13, 2025 7mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
6.1
Exploitability
2.8
Impact
2.7
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None

Threat Intelligence

EPSS Exploit Probability
11.1% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-79 Cross-site Scripting Injection

Affected Products 1

VendorProductVersionRange
astroastro*≥5.2.0  –  <5.15.6

References 4

  • github.com https://github.com/withastro/astro/blob/5bc37fd5cade62f753aef66efdf40f982379029a/packages/astro/src/template/4xx.ts#L133-L149
    Product
  • github.com https://github.com/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91
    Patch
  • github.com https://github.com/withastro/astro/pull/12994
    Patch
  • github.com https://github.com/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7
    ExploitThird Party Advisory

Remediation

  • github.com https://github.com/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91
    Patch
  • github.com https://github.com/withastro/astro/pull/12994
    Patch