I was searching around about CSRF attacks and I am thinking about the "random form token" prevention concept.
Let's say every form has a "hidden token" inside and the server checks the token before anything else. Now let's say there is a form http://myWebsite.e.x/acccount/edit
and it's supposed to be submitted.
The attacker can create an iFrame of this form to his website (token generated), hide it and then submit it using JavaScript (and victim's cookies).
What am I missing here?