📞 0339-0387701 (WhatsApp) Contact

« Back to Information & Networking (NCCIA)

What is cross-site scripting (XSS)?

A. A backup attack
B. An attack that injects malicious scripts into web pages viewed by other users ✅
C. An attack that steals a server's hard drive
D. A type of VPN

Correct Answer: B. An attack that injects malicious scripts into web pages viewed by other users

Explanation

XSS scripts run in a victim's browser and can steal session cookies or deface pages.