CVE-2026-40181

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*
cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*

History

22 Jul 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) React Router es un router para React. En las versiones 7.0.0 a 7.14.0 y 6.7.0 a 6.30.3, ciertas URL pasadas a la función de redirección pueden desencadenar una redirección abierta a un dominio externo debido a que los valores de ruta que comienzan con // son reinterpretados como URL relativas al protocolo. El nivel de impacto depende de la validación realizada por la aplicación antes de devolver la redirección. Esto no impacta a las aplicaciones que usan el Modo Declarativo (<BrowserRouter>). Esto está parcheado en las versiones 7.14.1 y 6.30.4.

04 Jun 2026, 18:46

Type Values Removed Values Added
First Time Shopify react-router
Shopify
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
CPE cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*
References () https://github.com/remix-run/react-router/security/advisories/GHSA-2j2x-hqr9-3h42 - () https://github.com/remix-run/react-router/security/advisories/GHSA-2j2x-hqr9-3h42 - Vendor Advisory

02 Jun 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-02 20:16

Updated : 2026-08-04 22:17


NVD link : CVE-2026-40181

Mitre link : CVE-2026-40181

CVE.ORG link : CVE-2026-40181


JSON object : View

Products Affected

shopify

  • react-router
CWE
CWE-601

URL Redirection to Untrusted Site ('Open Redirect')