Denial of service in route matching
Description
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.