CVE-2026-23643: CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting
Impact The PaginatorHelper::limitControl() method has a cross-site-scripting vulnerability via query string parameter manipulation. Patches This issue has been fixed in 5.2.12 and 5.3.1 Workarounds If you are unable to upgrade, you should avoid using Paginator::limitControl() until you can upgrade.
Published Jan 16, 2026 · Updated Jan 19, 2026
Affected packages
cakephp/cakephp
- Ecosystem
- Composer (PHP)
- Affected
- >= 5.2.10, < 5.2.12
- Fixed in
- 5.2.12
- Check
composer show cakephp/cakephp
cakephp/cakephp
- Ecosystem
- Composer (PHP)
- Affected
- = 5.3.0
- Fixed in
- 5.3.1
- Check
composer show cakephp/cakephp
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
The PaginatorHelper::limitControl() method has a cross-site-scripting vulnerability via query string parameter manipulation.
Patches
This issue has been fixed in 5.2.12 and 5.3.1
Workarounds
If you are unable to upgrade, you should avoid using Paginator::limitControl() until you can upgrade.
Credited to phpcss-ankue, markstory.
References
- https://github.com/cakephp/cakephp/security/advisories/GHSA-qh8m-9qxx-53m5
- https://github.com/cakephp/cakephp/issues/19172
- https://github.com/cakephp/cakephp/commit/c842e7f45d85696e6527d8991dd72f525ced955f
- https://bakery.cakephp.org/2026/01/14/cakephp_5212.html
- https://github.com/cakephp/cakephp/releases/tag/5.2.12
- https://github.com/cakephp/cakephp/releases/tag/5.3.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-23643
- https://github.com/advisories/GHSA-qh8m-9qxx-53m5
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-79752
CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection
critical9.2Sep 17, 2026CVE-2026-77634
CakePHP: SmtpTransport vulnerable to CRLF header injection
high8.2Sep 8, 2026CVE-2026-77635
CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
critical9.2Sep 8, 2026CVE-2026-48820
CakePHP: View::element() is missing a path containment check
medium6.3Jun 26, 2026
