Advisory

GHSA-2mqv-4j3r-vjvp

Also known as: CVE-2021-43812

Summary

Open redirect in @auth0/nextjs-auth0

Details

Overview

Versions <=1.6.1 do not filter out certain returnTo parameter values from the login url, which expose the application to an open redirect vulnerability.

Am I affected?
You are affected by this vulnerability if you are using @auth0/nextjs-auth0 version <=1.6.1.

How to fix that?
Upgrade to version >=1.6.2

Will this update impact my users?
The fix provided in the patch will not affect your users.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-12-16 18:52 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

@auth0/nextjs-auth0

npm · All systems

Affected

  • introduced 0, fixed 1.6.2 (semver)

Fixed versions

1.6.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences