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. Zero-Day Exploit
B. Buffer Overflow
C. Cross-Site Scripting (XSS)
D. SQL Injection
Answer: Option C
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.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Cyber Security Questions

Question #1
An attacker uses a network configuration trick to intercept wireless session cookies, letting them access a corporate web account without needing the user's password. This exploit is:
A. Session Hijacking
B. Brute Force Attack
C. SQL Injection Exploit
D. IP Header Spoofing

Correct Answer: Option A


Explanation:
Session hijacking captures live authentication tokens or active session state cookies, enabling attackers to bypass authentication gateways and impersonate victims.

This question belongs to: Computer Cyber Security
Question #2
What is the purpose of a digital certificate?
A. To encrypt a message
B. To speed up data transmission
C. To compress a file
D. To verify the identity of an entity in a digital communication

Correct Answer: Option D


Explanation:
A digital certificate is an electronic document that uses a digital signature to bind a public key with an identity, verifying the owner's authenticity in online communications.

This question belongs to: Computer Cyber Security
Question #3
What form of malicious software masquerades as a legitimate spreadsheet processor or media utility, tricks users into downloading it, and then drops spyware onto the system?
A. Computer Worm
B. Rootkit Module
C. Ransomware Core
D. Trojan Horse

Correct Answer: Option D


Explanation:
Trojan horses use deceptive packaging to mimic safe software utilities, tricking victims into initiating code that compromises their own security perimeters.

This question belongs to: Computer Cyber Security