tokensmith / otter

micro web framework for servlet api 4.0.1
MIT License
5 stars 0 forks source link

CSRF - Sign form value. #84

Closed tmackenzie closed 6 years ago

tmackenzie commented 6 years ago

Given XSS When I attempt to make a request to another url And I have access to CSRF cookie And I don't have access to form input value Then prevent the request via CSRF protection.

Unable to protect XSS same page attacks cannot be protected. Because attacker has access to cookie and form value.