Multiple choice technology security

Cross site scripting vulnerabilities helps an attacker to do what?

  1. Execute OS commands

  2. Steal user sessions

  3. Execute scripts on the webserver

  4. Manipulate the data in the database

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

XSS vulnerabilities enable attackers to inject malicious scripts into web pages viewed by other users. The primary impact is session hijacking - by stealing cookies or session tokens through injected JavaScript, attackers can impersonate legitimate users and gain unauthorized access to their accounts.