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.
Remediation
References
https://github.com/auth0/nextjs-auth0/commit/0bbd9f8a0c93af51f607f28633b5fb18c5e48ad6
https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-2mqv-4j3r-vjvp
Related Vulnerabilities
CVE-2021-24122 Vulnerability in maven package org.apache.tomcat:tomcat-catalina
CVE-2018-20834 Vulnerability in maven package org.webjars:tar
CVE-2020-6427 Vulnerability in maven package org.webjars.npm:electron
CVE-2020-1913 Vulnerability in npm package hermes-engine
CVE-2023-46494 Vulnerability in npm package @evershop/evershop