{"cve":"CVE-2022-29214","nvd":{"published":"2022-05-21T00:15:11.853","modified":"2026-06-17T04:39:50.540","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-601"],"references":["https://github.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.3.3","https://github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74","https://github.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.3.3","https://github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74"],"products":["nextauth.js:next-auth"],"source":"nvd","synced_at":"2026-10-19T21:31:59.322382750+00:00"},"epss":{"cve":"CVE-2022-29214","score":0.0067,"percentile":0.52006,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q2mx-j4x2-2h74","url":"https://osv.dev/vulnerability/GHSA-q2mx-j4x2-2h74","summary":"URL Redirection to Untrusted Site ('Open Redirect') in next-auth","modified":"2023-11-08T04:09:10.878070Z","packages":[{"ecosystem":"npm","name":"next-auth","purl":"pkg:npm/next-auth","ranges":["<3.29.3"],"fixed":["3.29.3"]},{"ecosystem":"npm","name":"next-auth","purl":"pkg:npm/next-auth","ranges":[">=4.0.0 <4.3.3"],"fixed":["4.3.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}