Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @auth0/nextjs-auth0
  4. ›
  5. CVE-2021-43812

CVE-2021-43812: URL Redirection to Untrusted Site ('Open Redirect')

December 16, 2021 (updated December 22, 2021)

The Auth0 Next.js does 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.

References

  • github.com/auth0/nextjs-auth0/commit/0bbd9f8a0c93af51f607f28633b5fb18c5e48ad6
  • github.com/auth0/nextjs-auth0/security/advisories/GHSA-2mqv-4j3r-vjvp
  • nvd.nist.gov/vuln/detail/CVE-2021-43812

Code Behaviors & Features

Detect and mitigate CVE-2021-43812 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.6.2

Fixed versions

  • 1.6.2

Solution

Upgrade to version 1.6.2 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

npm/@auth0/nextjs-auth0/CVE-2021-43812.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.