GHSA-x8j4-g9rr-8j87

Suggest an improvement
Source
https://github.com/advisories/GHSA-x8j4-g9rr-8j87
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-x8j4-g9rr-8j87/GHSA-x8j4-g9rr-8j87.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x8j4-g9rr-8j87
Aliases
Published
2026-12-01T18:28:24Z
Modified
2026-12-01T18:45:08Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling
Details

A vulnerability in React Router’s route matching may cause excessive CPU consumption when processing specially crafted paths, potentially resulting in denial of service.

Affected Modes: Declarative, Data, Framework, RSC Data (unstable), and RSC Framework (unstable).

Impact may occur in the browser or on the server, depending on where route matching runs.

Database specific
{
    "cwe_ids":  [
        "CWE-1333",
        "CWE-400"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-01T18:28:24Z",
    "nvd_published_at":  "2026-11-30T22:17:29Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / react-router

Package

Affected ranges

Type
SEMVER
Events
Introduced
6.0.0
Fixed
7.18.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-x8j4-g9rr-8j87/GHSA-x8j4-g9rr-8j87.json"

npm / react-router

Package

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0
Fixed
8.3.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-x8j4-g9rr-8j87/GHSA-x8j4-g9rr-8j87.json"