At what layer does a cross site scripting attack occur on?
At what layer does a cross site scripting attack occur on?
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.
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.