Vulnerabilities

1 via 1 paths

Dependencies

66

Source

GitHub

Commit

a938d44c

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity

Open Redirect

  • Vulnerable module: express
  • Introduced through: express@4.18.2

Detailed paths

  • Introduced through: inversify-express-utils@inversify/inversify-express-utils#a938d44c4ce0261bf91f8d07307ebba62e3d7980 express@4.18.2
    Remediation: Upgrade to express@4.19.2.

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.

Remediation

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

References