MediumGHSA-829q-v5g8-hhxc

CakePHP has incorrect Cross-Site Request Forgery validation

Published 20 Jan 2023 · Updated 29 Nov 2024

Affected package

Affected
>=3.0.0 <3.0.4
Fixed in
3.0.4
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^3.0.4

Details

CsrfComponent fails to invalidate requests that are missing both the CSRF token, and CSRF post data.

Is GHSA-829q-v5g8-hhxc 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.