HomepageOkta logo

Improper Validation of Query Parameters in Auth0 Next.js SDK CVE-2025-67716 - Dec 10, 2025

View all security advisories

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

Affected Versions

You are affected if you meet the following preconditions:

  • Applications using the auth0/nextjs-auth0 SDK version >= 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.

CVE details

CVE ID

CVE-2025-67716

Published Date

2025-12-10

Vulnerability Type

Incomplete Input Validation

CWE

CWE-184 - Incomplete List of Disallowed Inputs

CVSS v3

Score: 5.7

Vector string: https://www.first.org/cvss/calculator/3-1#CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N

References

Improper Validation of Query Parameters in Auth0 Next.js SDK