{"id":"CVE-2021-43812","aliases":["GHSA-2mqv-4j3r-vjvp"],"url":"https://o3.security/vulnerability/CVE-2021-43812","summary":"Open redirect in @auth0/nextjs-auth0","details":"### Overview\n\nVersions `<=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 `<=1.6.1`.\n\n### How to fix that?\nUpgrade to version `>=1.6.2`\n\n### Will this update impact my users?\nThe fix provided in the patch will not affect your users.\n\n","published":"2021-12-16T19:15:08.353Z","modified":"2026-07-09T12:20:20.370201Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.00656,"percentile":0.49697,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@auth0/nextjs-auth0","fixedVersion":"1.6.2"}],"fix":{"url":"https://github.com/auth0/nextjs-auth0/commit/0bbd9f8a0c93af51f607f28633b5fb18c5e48ad6","label":"auth0/nextjs-auth0@0bbd9f8"},"references":[{"type":"ADVISORY","url":"https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-2mqv-4j3r-vjvp"},{"type":"FIX","url":"https://github.com/auth0/nextjs-auth0/commit/0bbd9f8a0c93af51f607f28633b5fb18c5e48ad6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43812"},{"type":"PACKAGE","url":"https://github.com/auth0/nextjs-auth0"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T12:20:20.370201Z"}}