VDB

CVE-2020-35239

CVE-2020-35239 PUBLISHED CVSS 8.800000190734863 HIGH

CakePHP allows method override parameters to bypass CSRF checks

Reported by mitre · Published January 20, 2021

cakephp/cakephp is fixed in 4.1.4, 4.1.3 and 4.0.10 (Packagist)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
cakephp/cakephpPackagist4.1.4, 4.1.3, 4.0.10
cakephpcakephp4.1.3

Risk scores

CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
cakephpcakephp4.0.0
n/an/a*

Timeline

  • Jan 20, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jan 14, 2023 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Aug 31, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-35239
vulnetix vdb fixes CVE-2020-35239

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-35239/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›