# CVE-2020-35239: CakePHP allows method override parameters to bypass CSRF checks

Source: https://junglewise.ai/threats/cve-2020-35239-cakephp-allows-method-override-parameters-to-bypass-csrf-checks  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2020-35239 · Severity: low · CVSS 3.1 · Published 2022-05-24

CakePHP allows method override parameters to bypass CSRF checks

Technologies: [cakephp/cakephp (Packagist)](https://junglewise.ai/threats/technologies/cakephp-cakephp). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2020-35239 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-35239 being exploited in the wild.

**How severe is CVE-2020-35239?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** cakephp/cakephp (Packagist) ECOSYSTEM:introduced=4.0.0,fixed=4.0.10.

**Is there a fix for CVE-2020-35239?** Yes. cakephp/cakephp (Packagist): upgrade to 4.0.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-35239?** Check whether you run cakephp/cakephp (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- cakephp/cakephp (Packagist): upgrade to 4.0.10 or later

  ```sh
  composer require cakephp/cakephp:^4.0.10
  ```


## Affected products

- cakephp/cakephp (Packagist) ECOSYSTEM:introduced=4.0.0,fixed=4.0.10

## Identifiers

- CVE-2020-35239
- GHSA-9pgx-pf36-w46r

## Related threats

- [CakePHP FunctionsBuilder SQL injection in multiple methods](https://junglewise.ai/threats/cve-2026-79752-cakephp-functionsbuilder-sql-injection-in-multiple-methods)
- [CakePHP FunctionsBuilder::jsonValue SQL injection with PostgresDriver](https://junglewise.ai/threats/cve-2026-77635-cakephp-functionsbuilder-jsonvalue-sql-injection-with)
- [CakePHP SmtpTransport CRLF header injection](https://junglewise.ai/threats/cve-2026-77634-cakephp-smtptransport-crlf-header-injection)
- [CakePHP path traversal and file inclusion in View component](https://junglewise.ai/threats/cve-2026-48820-cakephp-path-traversal-and-file-inclusion-in-view-component)
- [CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting](https://junglewise.ai/threats/cve-2026-23643-cakephp-paginatorhelper-limitcontrol-vulnerable-to-reflected)
