VYPR
Medium severity6.1NVD Advisory· Published Aug 8, 2025· Updated Jun 17, 2026

CVE-2025-54793

CVE-2025-54793

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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
astronpm
>= 5.2.0, < 5.12.85.12.8

Affected products

3
  • Withastro/Astro2 versions
    cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*+ 1 more
    • cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*range: >=5.2.0,<5.12.7
    • (no CPE)range: >= 5.2.0, < 5.12.8
  • ghsa-coords
    Range: >= 5.2.0, < 5.12.8

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.