CSRF: when a foreign site clicks on the customer's behalf
A shop changes the email address on any request with a valid session. You replay a foreign site's attack and secure the form with a token, hash_equals() and SameSite=Lax.
Secure codingIntermediate 25 min Simulation in your browser, no real systems
You can explain why a valid session cookie does not prove the customer wanted a request.
You protect forms with a per-session token and compare it with hash_equals().
You set SameSite=Lax as a second layer and know where it does not help.