CVE-2022-29214

URL Redirection to Untrusted Site ('Open Redirect') in next-auth

Published May 20, 2022 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-4862 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.
Github GHSA Github GHSA GHSA-q2mx-j4x2-2h74 URL Redirection to Untrusted Site ('Open Redirect') in next-auth
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 23, 2025, 6:23 PM
Reserved
Apr 13, 2022, 12:00 AM
Status
Modified
Published
May 21, 2022, 12:15 AM
Modified
Jun 17, 2026, 4:39 AM