Skip to main content
← All vulnerabilities
CVE-2022-29214GHSA-Q2MX-J4X2-2H74

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.29.3, 4.3.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nextauthjs next-auth

    fixed in 3.29.3; From 4.0.0 · fixed in 4.3.3

  • next-authnpm

    fixed in 3.29.3

  • next-authnpm

    From 4.0.0 · fixed in 4.3.3

References 2

GitHub · nextauthjs/next-auth