CakePHP prior to 4.0.6 mishandles CSRF token generation. This might be remotely exploitable in conjunction with XSS.
cakefoundation cakephp