MediumGHSA-j33j-fg2g-mcv2CVE-2020-15400
Cross-Site Request Forgery in CakePHP
Published 10 Feb 2022 · Updated 16 Feb 2024
Affected packages
cakephp/cakephpComposer
- Affected
- >=4.0.0 <4.0.6
- Fixed in
- 4.0.6
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^4.0.6cakephp/cakephpComposer
- Affected
- <3.10.3
- Fixed in
- 3.10.3
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^3.10.3Details
CakePHP before 4.0.6 and 3.10.3 mishandles CSRF token generation. This might be remotely exploitable in conjunction with XSS.
Is GHSA-j33j-fg2g-mcv2 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.