Browser & Web Performance · Senior · Question 52 of 75

What does an HttpOnly session cookie NOT protect against when there's XSS?

Explanation

The attacker can't steal the cookie, but can still act as the user while the page is open. Preventing XSS remains essential.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 52

Test yourself

Take the Browser & Web Performance · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz