Science & Tech· Cyber security
Cross-site scripting is a general set of techniques whereby an attacker is able to:
- aSend mass e-mails to recipients
- bHost a website on an infected or malicious web server
- cExecute malicious code on another system through an intermediary web application
- 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