VDB
Sign up
MEDIUM4.3

GHSA-j33j-fg2g-mcv2

Cross-Site Request Forgery in CakePHP

Quick fix

GHSA-j33j-fg2g-mcv2 — cakephp/cakephp: upgrade to the fixed version with the command below.

composer require cakephp/cakephp:^4.0.6

Details

CakePHP before 4.0.6 and 3.10.3 mishandles CSRF token generation. This might be remotely exploitable in conjunction with XSS.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/cakephp/cakephp
Introduced in: 4.0.0Fixed in: 4.0.6
Fixcomposer require cakephp/cakephp:^4.0.6
Packagist/cakephp/cakephp
Introduced in: 0Fixed in: 3.10.3
Fixcomposer require cakephp/cakephp:^3.10.3

References