Inefficient regular expression complexity in React Router - #VU168402
Published: November 19, 2026
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.