CVE-2021-43812
MEDIUM 6.1CVSS 3.1Open redirect in @auth0/nextjs-auth0
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.
- Published
- 16 Dec 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- GHSA-2mqv-4j3r-vjvp
- Sources
- NVDJSONOSV GHSA-2mqv-4j3r-vjvpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | auth0 | nextjs-auth0cpe:2.3:a:auth0:nextjs-auth0:*:*:*:*:*:node.js:*:* |
< 1.6.2 | 1.6.2 |
| OSV | npm | @auth0/nextjs-auth0 | < 1.6.2 | 1.6.2 |
References
- https://github.com/auth0/nextjs-auth0/commit/0bbd9f8a0c93af51f607f28633b5fb18c5e48ad6 · Patch, Third Party Advisory, WEB
- https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-2mqv-4j3r-vjvp · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43812 · ADVISORY
- https://github.com/auth0/nextjs-auth0 · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 16 Dec 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 16 Dec 2021)