Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft login link with malicious returnTo
-
DeliveryDeliver link to victim via phishing
-
ExploitVictim authenticates on trusted site
-
ExecutionSDK reconstructs returnTo as absolute/scheme-relative URL
-
ImpactBrowser redirected to attacker domain
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the application use auth0/nextjs-auth0 prior to version 4.32.0 and that an attacker can induce a user to follow a crafted authentication link containing a malicious returnTo parameter - the value must pass the SDK's same-origin check yet be reconstructed into a URL browsers treat as absolute or scheme-relative. The key limiting factor is UI:R: a victim must actively click the attacker-supplied link and complete authentication, so there is no silent or self-propagating exploitation. No special non-default server configuration is required beyond using an affected SDK version in the standard login-redirect flow; impact is limited to redirection (no direct code execution or data read on the host). |
| Impact | This is a moderate-severity open redirect (CWE-601) in the auth0/nextjs-auth0 SDK, rated CVSS 6.1 with vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The signals are internally consistent and point to a real but bounded risk rather than a critical priority: network vector and low complexity make it easy to trigger, PR:N confirms no authentication is needed, but UI:R means a victim must actually click a crafted link, which caps its real-world severity. The scope change (S:C) and low confidentiality/integrity impact reflect that the attacker's gain is indirect - the SDK redirects the browser to an attacker-controlled domain rather than directly compromising the application. No EPSS score, KEV listing, or public POC is present in the provided data, so there is no evidence of active exploitation; exploitation status is best characterized as no public exploit identified at time of analysis. The practical danger is phishing/credential-harvesting and potential OAuth token or authorization-code interception during the post-authentication redirect flow - meaningful for an authentication SDK but dependent on social engineering. Overall this is a legitimate fix-worthy flaw (patched in 4.32.0) but not an emergency; prioritize patching on normal cadence rather than as a drop-everything incident. |
| Exploit ScenarioDerived | An attacker crafts a login link to a legitimate site using the auth0/nextjs-auth0 SDK, embedding a returnTo value that passes same-origin validation but is reconstructed by the SDK into a scheme-relative or absolute URL. The victim authenticates normally, and after login the SDK redirects their browser to an attacker-controlled domain - enabling a convincing phishing page or interception of post-authentication flow artifacts. No public exploit code is identified at time of analysis, but the flaw is low-complexity to reproduce given the public advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Open redirect in the nextjs-auth0 SDK before version 4.32.0 allows remote unauthenticated attackers to redirect users to an arbitrary external domain after authentication by crafting a malicious returnTo parameter that passes the SDK's same-origin check but is later reconstructed into a scheme-relative or absolute URL. Exploitation requires the victim to click an attacker-supplied authentication link and complete the login flow (CVSS vector includes UI:R), limiting impact to redirection with no direct code execution or data read on the host. No public exploit code or active exploitation (CISA KEV) has been identified, and a vendor patch is available in version 4.32.0.
RemediationAI
Upgrade to nextjs-auth0 version 4.32.0 or later, which contains the vendor-released patch. For detailed guidance, refer to the GitHub security advisory GHSA-5vvp-h2v6-59j6 and the Okta trust advisory. If immediate upgrade is not possible, implement a server-side allowlist that validates the returnTo parameter against a set of trusted origins or paths after reconstruction, but be aware that this may break legitimate redirects. Alternatively, disable or tightly constrain the returnTo functionality if it is not essential, accepting reduced user experience. No other workarounds are documented by the vendor.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a CWE-601 open redirect in the auth0/nextjs-auth0 SDK, a library that integrates Auth0 authentication into Next.js applications. The SDK validates that the returnTo parameter is a same-origin URL, but the validation is insufficient: the value is stored and later reconstructed for the post-authentication redirect in a way that can produce a URL that browsers interpret as absolute or scheme-relative (e.g., //attacker.com). This is a classic case of mismatched URL parsing between server-side validation and browser interpretation. Affected versions are nextjs-auth0 0 through 4.31.x (before 4.32.0), as indicated by EUVD-2026-100481. The CVSS vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N reflects network-based exploitation with low complexity, no privileges required, but requiring user interaction, with scope change and low confidentiality/integrity impact.
Know when Open Redirect gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Remotely triggerable with no auth (PR:N) but requires victim click (UI:R); open redirect crosses origin so S:C with low C/I from phishing/token exposure and no availability impact.
Primary rating from Vendor (okta).
CVSS VectorVendor: okta
Lifecycle Timeline
1DescriptionCVE.org
The auth0/nextjs-auth0 SDK validates that the returnTo parameter is a same-origin URL. The SDK then stores this value and, in a later step, reconstructs it for the post-authentication redirect. The reconstruction logic can produce a URL that browsers interpret as an absolute or scheme-relative path, leading to a redirect to an unintended domain.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Open Redirect
View allA malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca
GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of
PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect
Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to
When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a r
Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows
Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b
Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li
Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3
Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp
Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites
Open redirect vulnerability in the Redirect function in stageshow_redirect.php in the StageShow plugin before 5.0.9 for
EUVD-2026-100481
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB