Skip to content
OpenAdvisories
Medium · 5.7 CVE-2025-67716 EUVD-2025-202629GHSA-mr6f-h57v-rpj5

Auth0 Next.js SDK has Improper Validation of Query Parameters

Published Dec 11, 2025 · Updated Dec 11, 2025 · Assigned by GitHub_M

Description

The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. Versions 4.9.0 through 4.12.1 contain an input-validation flaw in the returnTo parameter, which could allow attackers to inject unintended OAuth query parameters into the Auth0 authorization request. Successful exploitation may result in tokens being issued with unintended parameters. This issue is fixed in version 4.13.0.

Affected products

VendorProductAffectedFixed
auth0 nextjs-auth0 >= 4.9.0, < 4.13.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @auth0/nextjs-auth0 >= 4.9.0, < 4.13.0 4.13.0 GHSA-mr6f-h57v-rpj5

References