![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Q. |
How do Cross-Site Scripting (XSS) attacks compromise website security? |
A. | By injecting malicious scripts into websites that are executed in users' browsers |
B. | By encrypting sensitive data and demanding a ransom for decryption |
C. | By launching brute-force attacks to guess user passwords |
D. | By flooding a server with traffic to cause a denial of service |
Answer» A. By injecting malicious scripts into websites that are executed in users' browsers | |
Explanation: XSS attacks exploit vulnerabilities to inject malicious scripts into trusted websites. When users visit these compromised sites, the injected scripts can steal their data or manipulate page content. |
View all MCQs in
E-BusinessNo comments yet