Web Security · Junior · Question 16 of 75

What is cross-site scripting (XSS)?

Explanation

The injected script runs with the site's origin: it can read the page, act as the user and send data to the attacker.

Further reading

Problem with a question

Web Security · Junior · question 16

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