Web Security · Junior · Question 26 of 75

An attacker got XSS on your site. What can their script typically do?

Explanation

The script runs as your site. Even without stealing cookies it can call your APIs with the user's session or show a fake login form.

Further reading

Problem with a question

Web Security · Junior · question 26

Test yourself

Take the Web Security · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz