Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gruez
· 5y ago · 0 comments
Is this really an issue? If the attacker has XSS on your site you're already screwed because they can manipulate the DOM to simulate user actions.
Comments
[–]
staticassertion
5y ago
It means they can't exfiltrate the cookie, which I think is a pretty nice win, even if they can still perform requests to the domain with that cookie.
For one thing it means they're locked to my session.
[–]
isbvhodnvemrwvn
5y ago
How would they steal HTTP-only cookies this way?
[–]
minitech
5y ago
They wouldn’t steal the cookie, they’d just have the script send the requests as the user directly.