0

Setup
Restful API and thin JS web client
Login POST Endpoint using parameters email and password
Access-Control-Allow-Origin is set, so responses can only be retrieved from non attacker website. However, as per specs, a pre-flight request is not issued to the Login endpoint.
The Attack
A mal...