CVEvulnerability
CVE-2022-29214
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-05-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 5.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:N
- Weaknesses
- CWE-601
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.
Affected configurations
• nextauth.js next-auth (< 3.29.3)
• nextauth.js next-auth (>= 4.0.0 < 4.3.3)
Related
Weakness · CWE (1)
- CWE-601 URL Redirection to Untrusted Site weakness
References
- https://github.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.3.3 Release Notes, Third Party Advisory
- https://github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74 Third Party Advisory
- https://github.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.3.3 Release Notes, Third Party Advisory
- https://github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74 Third Party Advisory