Multiple choice technology security

Cross Site Scripting is

  1. a mechanism of sharing scripts between two websites

  2. a code injection technique that exploits a security vulnerability occurring in the database layer of an application

  3. is a type of computer security vulnerability typically found in web applications that enables malicious attackers to inject client-side script into web pages viewed by other users.

  4. is a way to protect websites using JavaScripts

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Cross Site Scripting (XSS) is a vulnerability where attackers inject malicious scripts into web pages viewed by other users. It exploits insufficient input validation or output encoding. Option B describes SQL injection (database layer), while option A and D are incorrect characterizations.