CakePHP before 4.0.6 mishandles CSRF token generation. This might be remotely exploitable in conjunction with XSS.
https://github.com/advisories/GHSA-j33j-fg2g-mcv2
https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1061
https://bakery.cakephp.org/2020/04/18/cakephp_406_released.html