CSRF bypass in server-side actions
Description
A flaw in React Router’s server-side origin validation may allow cross-site request forgery under certain deployment and session configurations, potentially enabling unauthorized actions on behalf of authenticated users.
Affected Modes: Framework, RSC Data (unstable), and RSC Framework (unstable).
Exploitation depends on the application’s deployment, authentication cookie configuration, and use of server-side actions.