Open Redirect Affecting express package, versions <4.19.2>=5.0.0-alpha.1 <5.0.0-beta.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-EXPRESS-6474509
  • published26 Mar 2024
  • disclosed20 Mar 2024
  • creditFDrag0n

Introduced: 20 Mar 2024

CVE-2024-29041  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade express to version 4.19.2, 5.0.0-beta.3 or higher.

Overview

express is a minimalist web framework.

Affected versions of this package are vulnerable to Open Redirect due to the implementation of URL encoding using encodeurl before passing it to the location header. This can lead to unexpected evaluations of malformed URLs by common redirect allow list implementations in applications, allowing an attacker to bypass a properly implemented allow list and redirect users to malicious sites.

CVSS Scores

version 3.1