@okta/oidc-middleware@4.5.1 vulnerabilities

OpenId Connect middleware for authorization code flows

Direct Vulnerabilities

Known vulnerabilities in the @okta/oidc-middleware 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

@okta/oidc-middleware is an OpenId Connect middleware for authorization code flows

Affected versions of this package are vulnerable to Open Redirect allowing an attacker to redirect a user to an arbitrary URL. To exploit this vulnerability an attacker would need to send a victim a malformed URL containing a target server that they control. Once a user successfully completed the login process, the victim user would then be redirected to the attacker-controlled site.

How to fix Open Redirect?

Upgrade @okta/oidc-middleware to version 5.0.0 or higher.

<5.0.0