Security mailing lists by PureSourceCode

CVE-2022-29214

MEDIUM 6.1CVSS 3.1

URL Redirection to Untrusted Site ('Open Redirect') in next-auth

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.

Published
21 May 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-601
Also known as
GHSA-q2mx-j4x2-2h74
Sources
NVDJSONOSV GHSA-q2mx-j4x2-2h74JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nextauth.js next-auth
cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*
< 3.29.3 3.29.3
NVD nextauth.js next-auth
cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*
>= 4.0.0, < 4.3.3 4.3.3
OSV npm next-auth < 3.29.3 3.29.3
OSV npm next-auth >= 4.0.0, < 4.3.3 4.3.3

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 21 May 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.