Skip to main content

React Router EUVD-2026-33996

| CVE-2026-40181 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-06-02 GitHub_M GHSA-2j2x-hqr9-3h42
6.6
CVSS 4.0 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
6.6 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
SUSE
4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jun 02, 2026 - 21:02 EUVD
Analysis Generated
Jun 02, 2026 - 20:30 vuln.today
CVSS changed
Jun 02, 2026 - 20:22 NVD
6.6 (MEDIUM)

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 npm packages depend on react-router (3 direct, 3 indirect)

Ecosystem-wide dependent count for version 7.0.0.

DescriptionGitHub Advisory

React Router is a router for React. In versions 7.0.0 through 7.14.0 and 6.7.0 through 6.30.3, certain URLs passed to the redirect function can trigger an open redirect to an external domain due to path values starting with // being reinterpreted as protocol-relative URLs. The level of impact depends on the validation done by the application prior to returning the redirect. This does not impact applications using Declarative Mode (<BrowserRouter>). This is patched in versions 7.14.1 and 6.30.4.

AnalysisAI

Open redirect in React Router's programmatic redirect() function allows unauthenticated remote attackers to redirect users to arbitrary external domains by supplying path values beginning with //, which browsers interpret as protocol-relative (scheme-relative) URLs. Affected are applications in the v7 series (7.0.0-7.14.0) and v6 series (6.7.0-6.30.3) that expose user-influenced input to redirect() without validating the path prefix. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Identify application endpoint passing user-supplied path to redirect()
Delivery
Craft URL with //-prefixed attacker domain as path value
Exploit
Deliver crafted URL to victim via phishing or link injection
Execution
Victim follows URL; React Router issues 3xx redirect response
Persist
Browser resolves // as protocol-relative URL using current scheme
Impact
Victim navigates to attacker-controlled domain

Vulnerability AssessmentAI

Exploitation Exploitation requires two concurrent conditions: (1) the application must use React Router's programmatic `redirect()` function rather than Declarative Mode (`<BrowserRouter>` and JSX routes), and (2) attacker-influenced input must reach the `redirect()` call without prior validation that rejects path values beginning with `//`. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 base score of 6.6 (Medium) reflects network reachability (AV:N), low attack complexity (AC:L), no additional attack requirements (AT:N), no privileges required (PR:N), and high integrity impact on the vulnerable system (VI:H), with zero confidentiality or availability impact. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker identifies a React Router application that accepts a user-controlled `next` or `redirect_to` query parameter and passes it to `redirect()` without sanitization - a common pattern in login and OAuth flows. The attacker distributes a crafted URL such as `https://app.example.com/login?next=//evil.com/fake-login`, which the server processes by calling `redirect('//evil.com/fake-login')`; the browser receives the 3xx response and, interpreting `//evil.com` as `https://evil.com`, silently navigates the victim to a phishing page that mirrors the application's login UI. …
Remediation Vendor-released patches are available: upgrade to React Router 7.14.1 for v7 installations or 6.30.4 for v6 installations - these are the confirmed fix versions per the GitHub Security Advisory GHSA-2j2x-hqr9-3h42. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed
SUSE Linux Enterprise Module for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise Server 16.0 Fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise Server for SAP applications 16.0 Fixed

Share

EUVD-2026-33996 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy