{"cve":"CVE-2023-22727","nvd":{"published":"2023-01-17T21:15:16.550","modified":"2026-06-17T05:36:02.727","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://bakery.cakephp.org/2023/01/06/cakephp_4211_4311_4410_released.html","https://github.com/cakephp/cakephp/commit/3f463e7084b5a15e67205ced3a622577cca7a239","https://github.com/cakephp/cakephp/security/advisories/GHSA-6g8q-qfpv-57wp","https://bakery.cakephp.org/2023/01/06/cakephp_4211_4311_4410_released.html","https://github.com/cakephp/cakephp/commit/3f463e7084b5a15e67205ced3a622577cca7a239"],"products":["cakephp:cakephp"],"source":"nvd","synced_at":"2026-10-19T21:37:34.931465858+00:00"},"epss":{"cve":"CVE-2023-22727","score":0.00898,"percentile":0.59615,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}