VDB
Sign up
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.12

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.

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.12
Fixcomposer require cakephp/cakephp:^5.2.12
Packagist/cakephp/cakephp
Introduced in: 5.3.0Fixed in: 5.3.1
Fixcomposer require cakephp/cakephp:^5.3.1

References