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-2013-5960 Vulnerability in maven package org.owasp.esapi:esapi
CVE-2021-32696 Vulnerability in npm package striptags
CVE-2021-26539 Vulnerability in maven package org.webjars.npm:sanitize-html
CVE-2022-24771 Vulnerability in npm package node-forge
CVE-2007-4556 Vulnerability in maven package opensymphony:xwork