Cross Site Scripting is an attack against

  1. Client (Browser)

  2. Database

  3. Web Application

  4. Web Server


Correct Option: A

AI Explanation

To answer this question, you need to understand Cross-Site Scripting (XSS) and the target of this attack.

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. These scripts can be used to steal sensitive information, manipulate web content, or perform other malicious actions.

The correct answer is:

Option A) Client (Browser) - This option is correct. Cross-Site Scripting attacks target the client-side, specifically the web browser. The attacker injects malicious scripts into a web page that is then executed by the victim's browser. This can lead to the compromise of user data or the unauthorized manipulation of web content.

Option B) Database - This option is incorrect. Cross-Site Scripting attacks do not directly target databases. However, if the injected scripts are able to manipulate the web application's database queries, it could indirectly impact the database.

Option C) Web Application - This option is incorrect. Cross-Site Scripting attacks exploit vulnerabilities in web applications, but the actual attack is against the client-side browser.

Option D) Web Server - This option is incorrect. Cross-Site Scripting attacks do not directly target web servers. The attack occurs when the malicious scripts are executed by the victim's browser.

Therefore, the correct answer is Option A) Client (Browser) because Cross-Site Scripting attacks are against the client-side browser.

Find more quizzes: