CVE-2025-54793

Medium

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

SeverityMedium
CVSS6.1
Exploit probability—
ProductAstro
PublishedAug 8, 2025
First seenAug 8, 2025

How to fix

Update
  • astro astro5.12.7 or later
  • astro5.12.8 or later

Affected products

ProductAffected versionsFixed in
astro astro5.2.0 ≤ v < 5.12.75.12.7
astronpm5.2.0 ≤ v < 5.12.85.12.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-54793 · Astro · Dark Radar