Read the docs
TI-2025-34548 Aliases CVE-2025-54793GHSA-cq8c-xv66-36gw

Astro: Duplicate trailing slash feature can lead to Open Redirects

Priority MEDIUM 64CWE-601Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Spoofing
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-601.

Summary

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

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00696 53rd percentileScored 2026-11-07
Fix Fixed astro (withastro): 5.12.8astro (npm): 5.12.8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
withastroastro5.2.0 to before 5.12.85.12.8Patch availableCNA
—astro (npm)5.2.0 to before 5.12.85.12.8Patch availableGHSA-cq8c-xv66-36gw
  • astro Vendorwithastro Affected 5.2.0 to before 5.12.8 Fixed in 5.12.8 Patch available CNA
  • astro (npm) Vendor— Affected 5.2.0 to before 5.12.8 Fixed in 5.12.8 Patch available GHSA-cq8c-xv66-36gw

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*5.2.0 to before 5.12.7Vulnerablewithastro
  • cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:* Versions 5.2.0 to before 5.12.7 Vulnerable ·withastro

Remediation

  • Fix · CNA astro (withastro) Fixed in 5.12.8
  • Fix · GHSA-cq8c-xv66-36gw astro (npm) Fixed in 5.12.8 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-54793
  2. 2026-10-03 Alias added: GHSA-cq8c-xv66-36gw
  3. 2026-10-21 EPSS moved to the 50th–90th percentile

References

  • TI-2024-37142 Server source code is exposed to the public if sourcemaps are enabled CVSS 4.0HIGH 7.8
  • TI-2025-34958 Unauthorized third-party images in Astro’s _image endpoint CVSS 4.0MEDIUM 6.9
  • TI-2025-39915 Server-side request forgery in withastro astro CVSS 3.1MEDIUM 6.5
  • TI-2025-38274 Astro's `X-Forwarded-Host` is reflected with no validation CVSS 3.1MEDIUM 6.5
  • TI-2026-36915 Astro: Reflected XSS via unescaped slot name CVSS 3.1HIGH 7.1
  • TI-2025-40102 Astro is vulnerable to Reflected XSS via the server islands feature CVSS 3.1HIGH 7.1
See all 19 →

Sources