Question:What do you mean by cross-site scripting (XSS)?
Answer
Cross-site scripting (XSS) is a way of injecting malicious JavaScript code into the application. This type of exploit can be used to hijack a user's cookie, which can effectively let the user who injected the code take the ID of any user on the website, simply by linking them to the site with the code added in.