Cross-site scripting (XSS) is a type of computer security vulnerability that enables an attacker to inject code into a web page. When a user later visits that web page the code is executed in that user’s browser. The attacker can then steal the user’s session cookie and log into the site with that user’s account.

Think you know all about XSS? Test your knowledge with this mini-quiz!