CVE-2021-43812 Details
Description
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.
An open redirect vulnerability has been identified in the Auth0 Next.js SDK, specifically in versions through 1.6.1. The issue arises because the SDK does not properly validate certain returnTo parameter values in the login URL, allowing for potential redirection to malicious sites. This vulnerability could be exploited by manipulating the returnTo parameter to redirect users to an external URL, potentially leading to phishing attacks or other malicious activities.
Users should upgrade to version 1.6.2 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/auth0/nextjs-auth0/commit/0bbd9f8a0c93af51f607f28633b5fb18c5e48ad6 | CVE | PatchThird Party Advisory |
| https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-2mqv-4j3r-vjvp | CVE | Third Party Advisory |
| https://github.com/auth0/nextjs-auth0/commit/0bbd9f8a0c93af51f607f28633b5fb18c5e48ad6 | [email protected] | PatchThird Party Advisory |
| https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-2mqv-4j3r-vjvp | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| auth0 nextjs-auth0 | < 1.6.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Dec 22, 2021 | Initial Analysis | [email protected] |