Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
CVE

CVE-2025-54793

5.5
CVSSmedium
Exploitable remotely over the internet · no authentication required.
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 `//`.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
astro
Updated Nov 10, 2026View on NVD →
S4E scanner

Astro SSR - Open Redirect

Astro 5.2.0 through 5.12.7 contains an open redirect caused by improper handling of paths with double slashes in trailing slash redirection logic, letting attackers redirect users to arbitrary external domains, exploit requires on-demand SSR with Node or Cloudflare adapters. References: https://github.com/withastro/astro/security/advisories/GHSA-cq8c-xv66-36gw https://nvd.nist.gov/vuln/detail/CVE-2025-54793 https://github.com/withastro/astro/commit/9ec88a04f93611cc07deff76ef6a18c88d6a77b9 Remediation: Upgrade to version 5.12.8 or later; alternatively, block outgoing redirects with Location headers starting with // at the network level.

url

Monitor this CVE on your assets

S4E maps published CVEs to scanners and forecasts the next disclosure window for your stack.

Create a free account →