CVE-2025-54793

MEDIUM NUCLEI

Astro < 5.12.7 - Open Redirect

Title source: rule

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 `//`.

Nuclei Templates (1)

Astro SSR - Open Redirect
MEDIUMVERIFIEDby DhiyaneshDk
Shodan: http.component:"Astro"
FOFA: app="Astro"

Scores

CVSS v3 6.1
EPSS 0.0096
EPSS Percentile 76.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-601
Status published
Products (2)
astro/astro 5.2.0 - 5.12.7
npm/astro 5.2.0 - 5.12.8npm
Published Aug 08, 2025
Tracked Since Feb 18, 2026