CVE-2022-29214
published medium CVSS 3.1 · 6.1URL Redirection to Untrusted Site ('Open Redirect') in next-auth
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nextauthjs | — | next-auth< 3.29.3 · >= 4.0.0, < 4.3.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nextauthjs | next-auth | < 3.29.3 (affected)>= 4.0.0, < 4.3.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
References
2Provider assertions
3GitHub_M · cna
URL Redirection to Untrusted Site ('Open Redirect') in next-auth
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e9dfb40bc58a13adc524492d84904c3cc2f32fc004a2f3f3b10d05fb4dfceab1
- Ingested
- 23 Sep 2026, 07:59:45 UTC
- Source record
- Official CVE record