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
You are affected if you meet the following preconditions: - Applications using the auth0/nextjs-auth0 SDK version prior to 4.13.0
Auth0/nextjs-auth0 versions >= 4.9.0 and < 4.13.0
Upgrade Auth0/nextjs-auth0 version to v4.13.0
Okta would like to thank Joshua Rogers (MegaManSec) for their discovery and responsible disclosure.
{
"cwe_ids": [
"CWE-184"
],
"severity": "LOW",
"github_reviewed_at": "2025-12-10T21:35:58Z",
"nvd_published_at": "2025-12-11T01:16:00Z",
"github_reviewed": true
}