What type of software vulnerability allows attackers to inject malicious client-side scripts into web pages viewed by other users, bypassing browser security controls? MCQ with Answer and Explanation
What type of software vulnerability allows attackers to inject malicious client-side scripts into web pages viewed by other users, bypassing browser security controls?
A. Cross-Site Scripting (XSS)
B. Buffer Overflow
C. SQL Injection
D. Zero-Day Exploit
Answer: Option A
Solution (By JKSSB Mock Tests)
XSS vulnerabilities occur when web applications include unvalidated data in web outputs, allowing threat actors to inject malicious scripts into a victim's browser session.
Explanation:
A keylogger is a type of malware that records every keystroke made on a device, capturing sensitive information like passwords and credit card numbers.
Explanation:
Parameterized queries are a programming technique that prevents SQL injection by treating user input as data, not as part of the SQL command.
Explanation:
A virus is a type of malware that attaches itself to a host program or file and replicates when that program is executed, spreading to other files.
No comments yet. Be the first to start the discussion!