Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-40181— React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation

AI Predicted 6.1 Difficulty: Easy

Possible ATT&CK Techniques 1AI

T1189 · Drive-by Compromise

Affected Version Matrix 2

VendorProductVersion RangeStatus
remix-runreact-router>= 7.0.0, < 7.14.1affected
>= 6.7.0, < 6.30.4affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-40181

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
指向未可信站点的URL重定向(开放重定向)
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
remix-runreact-router >= 7.0.0, < 7.14.1 -

II. Public POCs for CVE-2026-40181

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40181

登录查看更多情报信息。

Vendor Advisories for CVE-2026-40181 (1)

Same Patch Batch · remix-run · 2026-06-02 · 6 CVEs total

CVE-2026-422118.1 HIGHReact Router's vendored turbo-stream v2 allows arbitrary constructor invocation via TYPE_E
CVE-2026-332458.0 HIGHReact Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect
CVE-2026-423427.5 HIGHReact Router vulnerable to DoS via unbounded path expansion in __manifest endpoint
CVE-2026-340777.5 HIGHReact Router vulnerable to Denial of Service via reflected user input in single-fetch
CVE-2026-332445.4 MEDIUMReact Router has stored XSS via unescaped Location header in prerendered redirect HTML

IV. Related Vulnerabilities

V. Comments for CVE-2026-40181

No comments yet


Leave a comment