CVE-2025-54793 - CVE House
Back to Database
Status published Medium CVE-2025-54793

Astro: Duplicate trailing slash feature can lead to Open Redirects

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-54793

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

astro
Vulnerable Versions:
>= 5.2.0, < 5.12.8

Timeline

Official Publish: August 8th, 2025
Last Modified: August 8th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)