← All practice quizzes
Quiz: XSS
5 questionsNo time limitPass: 60%+10 XP on first pass
How one comment box can run an attacker's JavaScript in every visitor's browser, the three types of XSS, and the fixes — output encoding, safe framework defaults, sanitising rich text and Content Security Policy.
Log in to take the quiz
Free account · see your score, answers and explanations, earn XP