MediumGHSA-qh8m-9qxx-53m5CVE-2026-23643

CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting

Published 16 Jan 2026 · Updated 3 Feb 2026

Affected packages

Affected
>=5.2.10 <5.2.12
Fixed in
5.2.12
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^5.2.12
Affected
>=5.3.0 <5.3.1
Fixed in
5.3.1
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^5.3.1

Details

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.

Is GHSA-qh8m-9qxx-53m5 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected cakephp/cakephp, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.