Skip to content

react-router-dom-6.30.3.tgz: 4 vulnerabilities (highest severity is: 7.5) #29

Description

@mend-bolt-for-github
Vulnerable Library - react-router-dom-6.30.3.tgz

Declarative routing for React web applications

Library home page: https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.30.3.tgz

Path to dependency file: /client/package.json

Path to vulnerable library: /client/package.json

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (react-router-dom version) Remediation Possible**
CVE-2026-40181 High 7.5 react-router-6.30.3.tgz Transitive 6.30.4
CVE-2026-53668 Medium 6.9 react-router-dom-6.30.3.tgz Direct react-router - 7.13.0
CVE-2026-53666 Medium 6.1 react-router-6.30.3.tgz Transitive N/A*
CVE-2026-53669 Medium 4.7 react-router-6.30.3.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2026-40181

Vulnerable Library - react-router-6.30.3.tgz

Declarative routing for React

Library home page: https://registry.npmjs.org/react-router/-/react-router-6.30.3.tgz

Path to dependency file: /client/package.json

Path to vulnerable library: /client/package.json

Dependency Hierarchy:

  • react-router-dom-6.30.3.tgz (Root Library)
    • react-router-6.30.3.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

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.

Publish Date: 2026-06-02

URL: CVE-2026-40181

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-06-02

Fix Resolution (react-router): 6.30.4

Direct dependency fix Resolution (react-router-dom): 6.30.4

Step up your Open Source Security Game with Mend here

CVE-2026-53668

Vulnerable Library - react-router-dom-6.30.3.tgz

Declarative routing for React web applications

Library home page: https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.30.3.tgz

Path to dependency file: /client/package.json

Path to vulnerable library: /client/package.json

Dependency Hierarchy:

  • react-router-dom-6.30.3.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Applications with open redirects could permit attacker crafted links to result in redirects to unexpected external location or XSS vectors.

Publish Date: 2026-07-23

URL: CVE-2026-53668

CVSS 3 Score Details (6.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-jjmj-jmhj-qwj2

Release Date: 2026-07-23

Fix Resolution: react-router - 7.13.0

Step up your Open Source Security Game with Mend here

CVE-2026-53666

Vulnerable Library - react-router-6.30.3.tgz

Declarative routing for React

Library home page: https://registry.npmjs.org/react-router/-/react-router-6.30.3.tgz

Path to dependency file: /client/package.json

Path to vulnerable library: /client/package.json

Dependency Hierarchy:

  • react-router-dom-6.30.3.tgz (Root Library)
    • react-router-6.30.3.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

If application code allows attacker supplied input to overwrite certain aspects of errors caught by the SSR process, then it was possible for attacker to trigger unexpected constructor execution on the client which would trigger outbound network traffic. This is only possible with very specific (and unlikely) application layer code. «[!NOTE] This does not impact your application if you are using Declarative Mode. This only impacts Framework Mode and Data Mode applications doing manual SSR/hydration»

Publish Date: 2026-07-23

URL: CVE-2026-53666

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-337j-9hxr-rhxg

Release Date: 2026-07-23

Fix Resolution: react-router - 7.18.0

Step up your Open Source Security Game with Mend here

CVE-2026-53669

Vulnerable Library - react-router-6.30.3.tgz

Declarative routing for React

Library home page: https://registry.npmjs.org/react-router/-/react-router-6.30.3.tgz

Path to dependency file: /client/package.json

Path to vulnerable library: /client/package.json

Dependency Hierarchy:

  • react-router-dom-6.30.3.tgz (Root Library)
    • react-router-6.30.3.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

This is a follow up to "CVE-2025-68470" (GHSA-9jcx-v3wj-wh4m). React Router was alerted to certain scenarios in which the fix there was incomplete so there still existed some scenarios where attacker supplied paths passed to navigation mechanisms could result in unexpected external navigations.

Publish Date: 2026-07-23

URL: CVE-2026-53669

CVSS 3 Score Details (4.7)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-wrjc-x8rr-h8h6

Release Date: 2026-07-23

Fix Resolution: react-router - 7.18.0

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions