Open Redirect Affecting next-auth package, versions <4.3.2


0.0
medium

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Scope Changed
    Confidentiality High

    Threat Intelligence

    EPSS 0.1% (42nd percentile)
Expand this section
NVD
6.1 medium

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 ID SNYK-JS-NEXTAUTH-2769574
  • published 20 Apr 2022
  • disclosed 20 Apr 2022
  • credit Brendan Kennedy

How to fix?

Upgrade next-auth to version 4.3.2 or higher.

Overview

next-auth is an Authentication for Next.js

Affected versions of this package are vulnerable to Open Redirect via defaultCallback, allowing for malicious actors to redirect the victim to a site of their choosing.

References