MEDIUM5.4
GHSA-qh8m-9qxx-53m5
CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting
Quick fix
GHSA-qh8m-9qxx-53m5 — cakephp/cakephp: upgrade to the fixed version with the command below.
composer require cakephp/cakephp:^5.2.12Details
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/cakephp/cakephp
Introduced in:
5.2.10Fixed in: 5.2.12Fix
composer require cakephp/cakephp:^5.2.12Packagist/cakephp/cakephp
Introduced in:
5.3.0Fixed in: 5.3.1Fix
composer require cakephp/cakephp:^5.3.1References
- https://github.com/cakephp/cakephp/security/advisories/GHSA-qh8m-9qxx-53m5[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-23643[ADVISORY]
- https://github.com/cakephp/cakephp/issues/19172[WEB]
- https://github.com/cakephp/cakephp/commit/c842e7f45d85696e6527d8991dd72f525ced955f[WEB]
- https://bakery.cakephp.org/2026/01/14/cakephp_5212.html[WEB]
- https://github.com/cakephp/cakephp[PACKAGE]
- https://github.com/cakephp/cakephp/releases/tag/5.2.12[WEB]
- https://github.com/cakephp/cakephp/releases/tag/5.3.1[WEB]