Open Redirect in Nextauth.js Next-Auth
CVE-2022-29214
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.
Vulnerability class: Open Redirect
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.007 (49.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 50th percentile — 49.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.007 · change: +0.000
Affected products
- Nextauth.js Next-Auth
- Nextauthjs Next-Auth — versions < 3.29.3, >= 4.0.0, < 4.3.3
Weakness classification (CWE)
References
- github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74 (Third Party Advisory)
- github.com/nextauthjs/next-auth/releases/tag/next-auth@v4.3.3 (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2022-29214?
- CVE-2022-29214 is a medium-severity vulnerability in Nextauth.js Next-Auth, classified under URL Redirection to Untrusted Site (Open Redirect). CVSS score: 6.1/10. Published 2022-05-21.
- How severe is CVE-2022-29214?
- Medium severity. CVSS v3 base score is 6.1 out of 10.