Inefficient regular expression complexity in React Router - #VU168402

 

Inefficient regular expression complexity in React Router - #VU168402

Published: November 19, 2026


Vulnerability identifier: #VU168402
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: N/A
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service in the browser or on the server, depending on where route matching runs.

The vulnerability exists due to inefficient regular expression evaluation in React Router's route matcher when processing certain URL paths. A remote attacker can supply a specially crafted URL path to trigger excessive CPU consumption and potentially cause a denial of service.


Affected software

React Router

Remediation

Install security update from vendor's website.

React Router - addressed in versions 7.18.3, 8.3.1

External References

Related Security Bulletins