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 trend (30 days)EPSS over the last 30 days for CVE-2022-29214: held from 0.006 to 0.007.

EPSS over last 30 days · oldest: 0.006 · newest: 0.007 · change: +0.000

Affected products

Weakness classification (CWE)

References

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.