CVE-2025-54793

MEDIUM EPSS 43.0%
Published Aug 8, 202510mo ago · Modified Jun 17, 20262w ago
5.5 CVSS 4.0
Medium
Find Similar
Published Aug 8, 2025 10mo ago
Last Modified Jun 17, 2026 2w ago

Description

Astro is a web framework for content-driven websites. In versions 5.2.0 through 5.12.7, there is an Open Redirect vulnerability in the trailing slash redirection logic when handling paths with double slashes. This allows an attacker to redirect users to arbitrary external domains by crafting URLs such as https://mydomain.com//malicious-site.com/. This increases the risk of phishing and other social engineering attacks. This affects sites that use on-demand rendering (SSR) with the Node or Cloudflare adapters. It does not affect static sites, or sites deployed to Netlify or Vercel. This issue is fixed in version 5.12.8. To work around this issue at the network level, block outgoing redirect responses with a Location header value that starts with `//`.

CVSS Details

Base Score
5.5
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
43.0% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-601

Affected Products 1

VendorProductVersionRange
astroastro*≥5.2.0  –  <5.12.7

References 2

  • github.com https://github.com/withastro/astro/commit/0567fb7b50c0c452be387dd7c7264b96bedab48f
    Patch
  • github.com https://github.com/withastro/astro/security/advisories/GHSA-cq8c-xv66-36gw
    Third Party Advisory

Remediation

  • github.com https://github.com/withastro/astro/commit/0567fb7b50c0c452be387dd7c7264b96bedab48f
    Patch