An attacker sends a specially crafted URL to a victim that, when clicked, causes the victim's browser to execute malicious scripts on a trusted website. What type of attack is this?
-
A
SQL injection
-
B
Cross-site scripting (XSS)
-
C
Cross-site request forgery (CSRF)
-
D
Command injection