express@4.18.2 vulnerabilities

Fast, unopinionated, minimalist web framework

Direct Vulnerabilities

Known vulnerabilities in the express package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Open Redirect

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.

How to fix Open Redirect?

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

<4.19.2 >=5.0.0-alpha.1 <5.0.0-beta.3