ADVISORIES

Vulnerability

CVE-2020-35239

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.

2 advisories report this vulnerability, across 2 ecosystems.

High severity All Packagist 1Ubuntu 1

Advisories

  • GHSA-9pgx-pf36-w46r

    CakePHP allows method override parameters to bypass CSRF checks

    High CVE-2020-35239 Packagist Updated 8 November 2023
  • UBUNTU-CVE-2020-35239

    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…

    CVE-2020-35239 Ubuntu Updated 3 November 2026

References