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

This question belongs to: Computer Cyber Security

Discuss this Question (0)

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

Practice More Cyber Security Questions

Question #1 Report Error
What is the role of a security analyst?
A. To develop software
B. To manage finances
C. To monitor and analyze security threats
D. To handle customer complaints

Correct Answer: Option C


Explanation:
A security analyst is responsible for monitoring, analyzing, and responding to security threats and incidents to protect an organization's information assets.

This question belongs to: Computer Cyber Security
Question #2 Report Error
Which software utility uses cryptographic hashing to verify that a downloaded application patch has not been tampered with or modified by an intermediary threat actor?
A. Sandbox Controller
B. Firewall Packet Filter
C. Integrity Checker / Hash Verifier
D. File Compression Engine

Correct Answer: Option C


Explanation:
Integrity checkers calculate cryptographic hashes (like SHA-256) of files, comparing them to known vendor benchmarks to verify the file hasn't been modified.

This question belongs to: Computer Cyber Security
Question #3 Report Error
What is the role of encryption in cybersecurity?
A. To compress data
B. To speed up data processing
C. To delete data
D. To convert data into a secure format that is unreadable without a key

Correct Answer: Option D


Explanation:
Encryption converts readable data (plaintext) into an unreadable format (ciphertext) using an algorithm and key, ensuring that only authorized parties can access the information.

This question belongs to: Computer Cyber Security