Assume that we are creating a CSRF token and inject it in a form on the page sendmoney.php
. What prevents the attacker from sending a request to sendmoney.php
to get the CSRF token and then submitting the form?
Any ideas how to prevent two-stage CSRF attack?