p PatchFirst

CVE-2025-55207

CVE-2025-55207 · @astrojs/node's trailing slash handling causes open redirect issue

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.5 · Medium · EPSS 0.6% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • astro

    Versions
    • < 9.4.1: Affected

    No fix published

  • @astrojs/node npm

    Affected ranges
    • SEMVER: < 9.4.1

    Update to 9.4.1

Original sources

Check your server →