New answers tagged csrf
0
votes
Should sensitive tokens be stored in localStorage or an HTTPOnly cookie?
Your description is correct. The use of cookies has the preference here in terms of security.
However, the HttpOnly flag is not the only thing that is required for optimal security. Set the SameSite ...
0
votes
Can a password change via CSRF lead to account takeover?
I also don't know what's the vulnerability and impact, because attackers can't change the other use'sr password without sending a link.
And if the attacker sends a link and the user clicks and logs in ...
Top 50 recent answers are included
Related Tags
csrf × 663web-application × 159
xss × 101
cookies × 98
authentication × 47
javascript × 40
jwt × 38
cors × 34
web-browser × 31
session-management × 31
http × 30
appsec × 30
same-origin-policy × 30
ajax × 29
php × 25
rest × 21
attack-prevention × 19
api × 18
oauth × 17
asp.net × 15
token × 14
authorization × 13
owasp × 13
attacks × 12
tls × 11