{"id":"GHSA-2mqv-4j3r-vjvp","summary":"Open redirect in @auth0/nextjs-auth0","details":"### Overview\n\nVersions `\u003c=1.6.1` do not filter out certain `returnTo` parameter values from the login url, which expose the application to an open redirect vulnerability.\n\n### Am I affected?\nYou are affected by this vulnerability if you are using `@auth0/nextjs-auth0` version `\u003c=1.6.1`.\n\n### How to fix that?\nUpgrade to version `\u003e=1.6.2`\n\n### Will this update impact my users?\nThe fix provided in the patch will not affect your users.\n\n","aliases":["CVE-2021-43812"],"modified":"2026-05-07T05:02:12.977856938Z","published":"2021-12-16T18:52:21Z","database_specific":{"cwe_ids":["CWE-601"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-12-16T18:42:05Z","nvd_published_at":"2021-12-16T19:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-2mqv-4j3r-vjvp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43812"},{"type":"WEB","url":"https://github.com/auth0/nextjs-auth0/commit/0bbd9f8a0c93af51f607f28633b5fb18c5e48ad6"},{"type":"PACKAGE","url":"https://github.com/auth0/nextjs-auth0"}],"affected":[{"package":{"name":"@auth0/nextjs-auth0","ecosystem":"npm","purl":"pkg:npm/%40auth0/nextjs-auth0"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-2mqv-4j3r-vjvp/GHSA-2mqv-4j3r-vjvp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}