SCA: security update for react-router (GHSA-2j2x-hqr9-3h42)

high Tenable Self-Hosted Container Security Plugin ID 442612

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-40181)

Solution

Update the react-router library and its related packages to version 6.30.4 or later.

See Also

https://github.com/advisories/GHSA-2j2x-hqr9-3h42

Plugin Details

Severity: High

ID: 442612

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 6/4/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.48

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-40181

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/3/2026

Vulnerability Publication Date: 6/2/2026

Reference Information

CVE: CVE-2026-40181

cwe: CWE-601