CVE-2021-43812 json
Open redirect in nextjs-auth0
published 2021-12-16 4 y ago modified 2026-07-08 4 mo ago also GHSA-2mqv-4j3r-vjvp , EUVD-2021-2425
- cvss
- 6.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| GitHub | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @auth0/nextjs-auth0 | <1.6.2 |
1.6.2 |
Affected products
- auth0 nextjs-auth0
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
- Technology feeds
References
-
github.com
/auth0/nextjs-auth0/commit/0bbd9f8a0c93af51f607f28633b5fb18c5e48ad6
web, patch, third-party-advisory
-
github.com
/auth0/nextjs-auth0/security/advisories/GHSA-2mqv-4j3r-vjvp
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-43812
advisory
-
github.com
/auth0/nextjs-auth0
package
Sources
- CVE List CVE-2021-43812
- GitHub Advisory GHSA-2mqv-4j3r-vjvp
- NVD CVE-2021-43812
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.