CVE-2022-29214

Source
https://cve.org/CVERecord?id=CVE-2022-29214
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29214.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-29214
Aliases
Published
2022-05-20T23:45:11Z
Modified
2026-08-12T03:51:31Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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.

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",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "fixed":  "3.29.3"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/nextauthjs/next-auth

Affected ranges

Type
GIT
Repo
https://github.com/nextauthjs/next-auth
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*",
    "extracted_events":  [
        {
            "introduced":  "4.0.0"
        },
        {
            "fixed":  "4.3.3"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29214.json"