What’s Vulnerable › Vulnerabilities
CVE-2020-35239
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-01-26 · updated 2026-06-17
- Weakness: CWE-352
Description
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.
Affected products
- cakephp: from 4.0.0 through 4.1.3
References
- https://bakery.cakephp.org/2020/12/07/cakephp_4010_released.html
- https://bakery.cakephp.org/2020/12/07/cakephp_4010_released.html
Get alerted when CVE-2020-35239 or the next vulnerability affects your stack