p PatchFirst

CVE-2022-29214

CVE-2022-29214 · URL Redirection to Untrusted Site ('Open Redirect') in next-auth

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 6.1 · Medium · EPSS 0.7% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • next-auth

    Versions
    • < 3.29.3: Affected
    • >= 4.0.0, < 4.3.3: Affected

    No fix published

  • next-auth npm

    Affected ranges
    • SEMVER: < 3.29.3

    Update to 3.29.3

  • next-auth npm

    Affected ranges
    • SEMVER: ≥ 4.0.0, < 4.3.3

    Update to 4.3.3

Original sources

Check your server →