Medium severity · published Aug 8, 2025
CVE-2025-54793
Astro is a web framework for content-driven websites
6.1
CVSS
0.6%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
Astro · Astro
5.2.0 before 5.12.7 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-54793
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-54793
Patch
https://github.com/withastro/astro/commit/0567fb7b50c0c452be387dd7c7264b96bedab48f
Third Party Advisory
https://github.com/withastro/astro/security/advisories/GHSA-cq8c-xv66-36gw
More from Astro
7.5
CVE-2026-54299
Astro: Host-header full-read SSRF in core prerendered error-page fetch (prerenderedErrorPageFetch default + unvalidated createRequestFromNodeRequest URL)
7.2
CVE-2025-59837
astro allows bypass of image proxy domain validation leading to SSRF and potential XSS
6.5
CVE-2025-66202
Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765
6.5
CVE-2025-64525
Astro: URL manipulation via unsanitized headers leads to path-based middleware protections bypass, potential SSRF/cache-poisoning, CVE-2025-61925 bypass
6.5
CVE-2025-61925
Astro's `X-Forwarded-Host` is reflected with no validation
