Web Security · Middle · Question 3 of 75

Which of these is a typical DOM XSS source?

Explanation

Sources are values an attacker can control: the URL (location, hash, search), document.referrer, postMessage data and stored values from other users.

Further reading

Problem with a question

Web Security · Middle · question 3

Test yourself

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

Take this quiz