---
id: CVE-2025-67716
title: >-
  The Auth0 Next.js SDK is a library for implementing user authentication in
  Next.js applications
summary: >-
  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 O…
severity: medium
cvss: 5.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-184
vendor: auth0
product: nextjs-auth0
affected:
  - 'nextjs-auth0 >= 4.9.0, < 4.12.1'
patched:
  - nextjs-auth0 4.12.1
published: '2025-12-11'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-67716'
references:
  - url: >-
      https://github.com/auth0/nextjs-auth0/commit/35eb321de3345ccf23e8c0d6f66c9f2f2f57d26c
    label: security-advisories@github.com
  - url: >-
      https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-mr6f-h57v-rpj5
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00262
epssPercentile: 0.16795
ingestedAt: '2026-10-14T20:53:12.270Z'
---

## Overview

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

- `nextjs-auth0 >= 4.9.0, < 4.12.1`

## Remediation

Upgrade past the affected range:

- `nextjs-auth0 4.12.1`
