CVE Catalog

CVE-2026-40181

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

6th percentile - higher than 6% of all known CVEs

Summary

React Router versions 7.0.0 through 7.14.0 and 6.7.0 through 6.30.3 contain an open redirect vulnerability where certain URLs passed to the redirect function can be reinterpreted as protocol-relative URLs, redirecting to an external domain.

Risk Assessment

An attacker could exploit this vulnerability for phishing or redirecting users to malicious sites, potentially leading to credential theft.

Recommendation

Update React Router to version 7.14.1 or 6.30.4 depending on the branch used.

Other vulnerabilities in React Router

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS