Exam 312-49v10 All QuestionsBrowse all questions from this exam
Question 156

At what layer does a cross site scripting attack occur on?

    Correct Answer: B

    Cross-site scripting (XSS) attacks occur at the application layer. This is because XSS involves injecting malicious scripts into web applications, which are then executed on the client side, typically within a web browser. The application layer is where web browsers and applications reside and interact, making it the appropriate layer for this type of attack.

Discussion
aqeel1506Option: A

A is the answer: The Application layer provides user interfaces and network services: Cross-Site Scripting (XSS): Attackers inject malicious scripts into web applications, which are then executed by unsuspecting users, compromising their data.