Skip to content

astro

@astrojs/node's trailing slash handling causes open redirect issue

CVE-2025-55207Published 15 Aug 2025, 15:13 UTC

Real-world risk

2.9/ 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. Following CVE-2025-54793 there's still an Open Redirect vulnerability in a subset of Astro deployment scenarios prior to version 9.4.1. Astro 5.12.8 addressed CVE-2025-54793 where https://example.com//astro.build/press would redirect to the external origin //astro.build/press. However, with the Node deployment adapter in standalone mode and trailingSlash set to "always" in the Astro configuration, https://example.com//astro.build/press still redirects to //astro.build/press. This affects any user who clicks on a specially crafted link pointing to the affected domain. Since the domain appears legitimate, victims may be tricked into trusting the redirected page, leading to possible credential theft, malware distribution, or other phishing-related attacks. This issue has been patched in version 9.4.1.

Am I affected?

ProductAffected versions (from the sources)Fixed in
astroCommon< 9.4.19.4.1

What to do

Update to a fixed version: 9.4.1.

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 T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • CISA SSVC: proof of concept

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

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.3 × prerequisites 1 × threat 0.952.850
  4. Rounded to one decimal between 0.1 and 102.9

How the score works

Exploitation and evidence timeline

  1. 15 Aug 2025 Published
  2. 3 Dec 2026 CISA SSVC: proof of concept first seen
  3. 3 Dec 2026 Risk 2.9 (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.