SQL Injection The advisory has been revoked - it doesn't affect any version of package cakephp  (opens in a new tab)


Threat Intelligence

EPSS
0.9% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-CAKEPHP-15032444
  • published18 Jan 2026
  • disclosed17 Jan 2023

Introduced: 17 Jan 2023

CVE-2023-22727  (opens in a new tab)
CWE-89  (opens in a new tab)

Amendment

The Debian security team deemed this advisory irrelevant for Debian:11.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cakephp package and not the cakephp package as distributed by Debian.

CakePHP is a development framework for PHP web apps. In affected versions the Cake\Database\Query::limit() and Cake\Database\Query::offset() methods are vulnerable to SQL injection if passed un-sanitized user request data. This issue has been fixed in 4.2.12, 4.3.11, 4.4.10. Users are advised to upgrade. Users unable to upgrade may mitigate this issue by using CakePHP's Pagination library. Manually validating or casting parameters to these methods will also mitigate the issue.