{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "29b67b664785ba086008159e69c5e22969f69b48"
            },
            {
              "fixed": "e71118b9960a3b79543c96ee1cbe1ecbb83c98e9"
            }
          ],
          "repo": "https://github.com/nextauthjs/next-auth",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-q2mx-j4x2-2h74"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29214.json"
  },
  "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.",
  "id": "CVE-2022-29214",
  "modified": "2026-04-01T23:08:05.329135262Z",
  "published": "2022-05-20T23:45:11Z",
  "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"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "URL Redirection to Untrusted Site ('Open Redirect') in next-auth"
}