Skip to content

astro

Astro: Duplicate trailing slash feature can lead to Open Redirects

CVE-2025-54793Published 8 Aug 2025, 00:02 UTC

Real-world risk

3.0/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.5

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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

Am I affected?

ProductAffected versions (from the sources)Fixed in
astroCommon>= 5.2.0, < 5.12.85.12.8

What to do

Update to a fixed version: 5.12.8.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Nuclei scanner template (link)
  • CISA SSVC: proof of concept

EPSS 0.7% chance of exploitation in 30 days (percentile 56), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.3 × prerequisites 1 × threat 13.000
  4. Rounded to one decimal between 0.1 and 103.0

How the score works

Exploitation and evidence timeline

  1. 8 Aug 2025 Published
  2. 3 Dec 2026 Nuclei scanner template first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 3.0 (cvss fallback)

Weakness

CWE-601

References

Get alerts for astro

Free email or text alerts when a vulnerability in astro reaches risk 8 or higher. Nothing else.