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

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
remix-run react-router
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

react-router是Remix开源的一个 React 的声明式路由。 react-router 7.0.0版本至7.14.0版本和6.7.0版本至6.30.3版本存在输入验证错误漏洞,该漏洞源于路径值以//开头被重新解释为协议相对URL,可能导致开放重定向到外部域。

CVSS 6.6 · Medium EPSS 0.16% · P6

Possible ATT&CK Techniques 1 AI

T1189 · Drive-by Compromise

Affected Version Matrix 3

VendorProduct Version RangeStatus
remix-run @remix-run/router >= 1.3.0, < 1.23.3 affected
remix-run react-router >= 7.0.0, < 7.14.1 affected
>= 6.7.0, < 6.30.4 affected
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
指向未可信站点的URL重定向(开放重定向)
Source: CVE Program / CVE List V5
Vulnerability Title
react-router 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
react-router是Remix开源的一个 React 的声明式路由。 react-router 7.0.0版本至7.14.0版本和6.7.0版本至6.30.3版本存在输入验证错误漏洞,该漏洞源于路径值以//开头被重新解释为协议相对URL,可能导致开放重定向到外部域。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
remix-run react-router >= 7.0.0, < 7.14.1 -
remix-run @remix-run/router >= 1.3.0, < 1.23.3 -

II. Public POCs for CVE-2026-40181

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

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-42211 8.1 HIGH React Router's vendored turbo-stream v2 allows arbitrary constructor invocation via TYPE_E
CVE-2026-33245 8.0 HIGH React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect
CVE-2026-42342 7.5 HIGH React Router vulnerable to DoS via unbounded path expansion in __manifest endpoint
CVE-2026-34077 7.5 HIGH React Router vulnerable to Denial of Service via reflected user input in single-fetch
CVE-2026-33244 5.4 MEDIUM React 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