Live threats

All CVEs / Auth0

CVE-2021-43812Auth0 Nextjs-auth0

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 47
Auth required
No
Published
Dec 16, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. Versions before 1.6.2 do not filter out certain returnTo parameter values from the login url, which expose the application to an open redirect vulnerability. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nextjs-auth0.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @auth0/nextjs-auth0 < 1.6.2 1.6.2 npm install @auth0/nextjs-auth0@1.6.2

Per OSV / GitHub Advisories (GHSA-2mqv-4j3r-vjvp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
auth0nextjs-auth0< 1.6.2

Official sources

References

Links published by the sources. Open them with care.