Advisory

GHSA-mr6f-h57v-rpj5

Also known as: CVE-2025-67716

Summary

Improper Validation of Query Parameters in Auth0 Next.js SDK

Details

Description
An input-validation flaw in the returnTo parameter in the Auth0 Next.js SDK 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

Am I Affected?
You are affected if you meet the following preconditions:

  • Applications using the auth0/nextjs-auth0 SDK version prior to 4.13.0

Affected product and versions
Auth0/nextjs-auth0 versions >= 4.9.0 and < 4.13.0

Resolution
Upgrade Auth0/nextjs-auth0 version to v4.13.0

Acknowledgements
Okta would like to thank Joshua Rogers (MegaManSec) for their discovery and responsible disclosure.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-12-10 21:35 UTC
Modified
2025-12-11 16:21 UTC

Affected packages and fixes

@auth0/nextjs-auth0

npm · All systems

Affected

  • introduced 4.9.0, fixed 4.13.0 (semver)

Fixed versions

4.13.0

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