...

/

Cross-Site Scripting Basics

Cross-Site Scripting Basics

Learn about what a cross-site scripting attack entails and its various types.

Overview

Modern technological advancement has led to the development of websites that users can freely interact with daily. This has come with a lot of advantages because developers can get feedback from users on how they’re interacting with their web applications. However, these advantages also gave rise to some unfortunate disadvantages, of which cross-site scripting (XSS) is a prime example. This vulnerability allows adversaries to plant their code in a web application to get its users’ data. Sounds quite scary, doesn’t it?

Cross-site scripting

XSS is a client-server attack where the adversary injects malicious code into a web application and executes it. These attacks generally ...