MediumGHSA-j9q2-f9q7-jhgq
CakePHP SecurityComponent cross form submission issue
Published 20 Jan 2023 · Updated 29 Nov 2024
Affected packages
cakephp/cakephpComposer
- Affected
- >=2.0.0 <2.4.8
- Fixed in
- 2.4.8
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.4.8cakephp/cakephpComposer
- Affected
- >=1.3.0 <1.3.18
- Fixed in
- 1.3.18
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^1.3.18Details
Prior to versions 2.4.8 and 1.3.18, forms secured by SecurityComponent could be submitted to any action without triggering SecurityComponent’s tampering protection. If an application contained multiple POST forms to manipulate the same models, it could be vulnerable to mass assignment issues.
Is GHSA-j9q2-f9q7-jhgq 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.