{"id":"CVE-2022-29214","aliases":["GHSA-q2mx-j4x2-2h74"],"url":"https://o3.security/vulnerability/CVE-2022-29214","summary":"URL Redirection to Untrusted Site ('Open Redirect') in next-auth","details":"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.","published":"2022-05-20T23:45:11Z","modified":"2026-08-12T03:51:31.361903027Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"next-auth","fixedVersion":"3.29.3"},{"ecosystem":"npm","name":"next-auth","fixedVersion":"4.3.3"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.3.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29214.json"},{"type":"ADVISORY","url":"https://github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29214"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:31.361903027Z"}}