Science & Tech· Cyber security

Cross-site scripting is a general set of techniques whereby an attacker is able to:

  1. aSend mass e-mails to recipients
  2. bHost a website on an infected or malicious web server
  3. cExecute malicious code on another system through an intermediary web application
  4. dControl the web application through SQL control characters
Show answer and explanation

Answer: (c) Execute malicious code on another system through an intermediary web application

Cross-site scripting (XSS) lets an attacker inject malicious script into a vulnerable web application, which then delivers and runs that script in other users' browsers; the application is the intermediary. Controlling a web application through SQL control characters describes SQL injection, and sending mass emails is spamming.

Source: UPSC Engineering Services (P) 2025 · Q87

Search YouTube ↗

Practise Science & Tech with a free drill

More Science & Tech questions

All Science & Tech questions →

Keep going