CVE-2024-9266
JavaScript vulnerability analysis and mitigation

Overview

A URL Redirection to Untrusted Site ('Open Redirect') vulnerability has been identified in Express versions from 3.4.5 before 4.0.0, affecting the Express Response object. The vulnerability was discovered and disclosed on October 3, 2024, with a fix implemented on August 23, 2024 (HeroDevs).

Technical details

The vulnerability exists in the response.js file within the Express package, specifically in the location() method of the response object. The vulnerability is triggered when three conditions are met: a request path begins with double slashes (//), a relative path for redirection begins with ./ and is provided from user-controlled input, and the Location header is set with that user-controlled input. The location() method extracts the path // and prepends it to the relative URL using the resolve() method, which evaluates the ./ and returns it as /, resulting in a URL like '///example.com'. Most browsers evaluate this as equivalent to //example.com, which is a valid scheme-relative-special-url (HeroDevs). The vulnerability has been assigned a CVSS v3.1 base score of 4.7 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N (NVD).

Impact

This vulnerability could be exploited to accomplish phishing attacks or redirect victims to malicious infection pages. When successfully exploited, it allows attackers to redirect users to arbitrary external URLs through user-controlled input (HeroDevs).

Mitigation and workarounds

Express 3 has reached End-of-Life and will not receive direct updates to address this issue. Users of affected components should either migrate to a newer version of Express or leverage a commercial support partner like HeroDevs for post-EOL security support (HeroDevs).

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-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 2025

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