Skip to content
Medium

CSRF bypass in server-side actions

GHSA-8wpx-2pj4-ggvx First seen on SecPulse

Summary

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 (unsta...

Affected packages

PackageAffected → Fixed
npmreact-router
>=7.12.0, <7.18.3→ 7.18.3
npmreact-router
>=8.0.0, <8.3.1→ 8.3.1
Original description The description as published by the source.

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.

Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details