What is Cross-Site Scripting (XSS)?

Technology CommunityCategory: Web SecurityWhat is Cross-Site Scripting (XSS)?
VietMX Staff asked 3 years ago

Cross-Site Scripting (XSS) is an attack that occurs when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user.

The page provided by the server when someone requests it is unaltered. Instead, an XSS attack exploits a weakness in a page that include a variable submitted in a request to show up in raw form in the response. The page is only reflecting back what was submitted in that request.