HighGHSA-9pgx-pf36-w46r
CakePHP allows method override parameters to bypass CSRF checks
Affected versions
4.0.0 to before 4.0.10, 4.1.0 to before 4.1.4 - fixed in 4.0.10Details
A vulnerability exists in CakePHP versions 4.0.x through 4.1.3. The CsrfProtectionMiddleware component allows method override parameters to bypass CSRF checks by changing the HTTP request method to an arbitrary string that is not in the list of request methods that CakePHP checks. Additionally, the route middleware does not verify that this overriden method (which can be an arbitrary string) is actually an HTTP method.
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected