Computer Hacking Forensic Investigator (CHFI v10) — Question 507

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

Answer options

Correct answer: B

Explanation

Cross site scripting (XSS) attacks occur at the Application layer, where user input is processed and rendered. The other layers, such as Presentation, Session, and Data Link, do not directly handle the execution of scripts or the rendering of HTML content that can be exploited by XSS.