express-jwt@5.3.0 vulnerabilities

JWT authentication middleware.

Direct Vulnerabilities

Known vulnerabilities in the express-jwt 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
  • H
Authorization Bypass

express-jwt is a JWT authentication middleware.

Affected versions of this package are vulnerable to Authorization Bypass. The algorithms entry to be specified in the configuration is not being enforced. When algorithms is not specified in the configuration, with the combination of jwks-rsa, it may lead to authorization bypass.

How to fix Authorization Bypass?

Upgrade express-jwt to version 6.0.0 or higher.

<6.0.0