VYPR
Medium severity6.1NVD Advisory· Published Jun 2, 2026· Updated Jun 4, 2026

CVE-2026-40181

CVE-2026-40181

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 (). This is patched in versions 7.14.1 and 6.30.4.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
react-routernpm
>= 7.0.0, < 7.14.17.14.1
react-routernpm
>= 6.7.0, < 6.30.46.30.4

Affected products

7

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.