Description
NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. Prior to versions 3.29.3 and 4.3.3, an open redirect vulnerability is present when the developer is implementing an OAuth 1 provider. Versions 3.29.3 and 4.3.3 contain a patch for this issue. The maintainers recommend adding a certain configuration to one's `callbacks` option as a workaround for those unable to upgrade.
References (2)
Core 2
Core References
Third Party Advisory x_refsource_confirm
https://github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.3.3
Scores
CVSS v3
6.1
EPSS
0.0024
EPSS Percentile
47.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-601
Status
published
Products (2)
nextauth.js/next-auth
< 3.29.3
npm/next-auth
0 - 3.29.3npm
Published
May 21, 2022
Tracked Since
Feb 18, 2026