We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-54793

Astro: Duplicate trailing slash feature can lead to Open Redirects



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

Reserved 2025-07-29 | Published 2025-08-08 | Updated 2025-08-08 | Assigner GitHub_M


MEDIUM: 5.5CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P

Problem types

CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Product status

>= 5.2.0, < 5.12.8
affected

References

github.com/.../astro/security/advisories/GHSA-cq8c-xv66-36gw

github.com/...ommit/0567fb7b50c0c452be387dd7c7264b96bedab48f

cve.org (CVE-2025-54793)

nvd.nist.gov (CVE-2025-54793)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-54793

Support options

Helpdesk Chat, Email, Knowledgebase