Security mailing lists by PureSourceCode

CVE-2020-35239

HIGH 8.8CVSS 3.1

CakePHP allows method override parameters to bypass CSRF checks

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.

Published
26 Jan 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-352
Also known as
GHSA-9pgx-pf36-w46r
Sources
NVDJSONOSV GHSA-9pgx-pf36-w46rJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cakephp cakephp
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*
>= 4.0.0, <= 4.1.3
OSV Packagist cakephp/cakephp >= 4.0.0, < 4.0.10 4.0.10
OSV Packagist cakephp/cakephp >= 4.1.0, < 4.1.4 4.1.4

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Jan 2021)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.