CVE-2025-55207
JavaScript vulnerability analysis and mitigation

Overview

Following CVE-2025-54793, an Open Redirect vulnerability was discovered in Astro's Node deployment adapter prior to version 9.4.1. The vulnerability affects Astro deployments using the Node adapter in standalone mode with trailingSlash set to "always" in the configuration. The issue was discovered on August 15, 2025, and allows maliciously crafted URLs to redirect users to untrusted external sites (GitHub Advisory).

Technical details

The vulnerability occurs when URLs containing double forward slashes followed by an external domain (e.g., https://example.com//astro.build/press) are processed by the Node adapter. Instead of handling these URLs internally, the system redirects to the external origin (//astro.build/press). This behavior is specifically present when using the Node deployment adapter in standalone mode with trailingSlash configuration set to "always". The vulnerability has been assigned a CVSS v4.0 score of 5.5 (Medium) with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P (NVD).

Impact

This Open Redirect vulnerability (CWE-601) can be exploited by any unauthenticated user who clicks on a specially crafted link pointing to the affected domain. Since the redirected URL appears to originate from a legitimate domain, victims may be tricked into trusting the redirected page, potentially leading to credential theft, malware distribution, or other phishing-related attacks (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 9.4.1 of the @astrojs/node package. Users are advised to upgrade to this version or later to mitigate the risk. The fix involves additional validation of internal paths to prevent unwanted redirects (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management