Skip to main content
CVE-2025-54793VulnerabilityPublished

CVE-2025-54793: withastro astro · Open Redirect

Affects withastro astroSource CVE Database V5

0

Not known to be exploited · public detection template (Nuclei) · CVSS 5.5 Medium · fixed in 5.12.8 : update withastro astro when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.12.8
CVSS: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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Aug 2025

  2. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

AI-suggested

1. Upgrade all affected Astro instances to version 5.12.8 or later immediately to apply the official patch addressing the open redirect issue. 2. For organizations unable to upgrade promptly, implement network-level controls to block HTTP redirect responses containing Location headers that begin with '//', preventing protocol-relative redirects to external domains. This can be done via web application firewalls (WAFs), reverse proxies, or CDN edge rules. 3. Review and audit all URL redirection logic in custom code or integrations to ensure no similar open redirect patterns exist. 4. Educate users and staff about phishing risks associated with URL redirection vulnerabilities and encourage vigilance when clicking on links, even from trusted domains. 5. Monitor web server logs and security alerts for unusual redirect patterns or spikes in redirect-related traffic that may indicate exploitation attempts. 6. Consider implementing Content Security Policy (CSP) headers to restrict navigation to trusted domains, mitigating the impact of open redirects. 7. For organizations using Cloudflare or Node SSR adapters, verify that the deployment configurations do not override or bypass the patched redirect logic.

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

References

Community reviews

Loading reviews…