What type of software vulnerability occurs when untrusted user code commands are output directly into another user’s browser view, enabling script injection exploits? MCQ with Answer and Explanation

What type of software vulnerability occurs when untrusted user code commands are output directly into another user’s browser view, enabling script injection exploits?
A. Buffer Overflow
B. Cross-Site Scripting (XSS)
C. SQL Injection
D. Zero-Day Exploit
Answer: Option B
Solution (By JKExamLibrary)
XSS allows threat actors to execute malicious client-side scripts inside other users' browser views by compromising vulnerable web outputs.

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 policy in an organization?
A. To define acceptable use of resources and security rules
B. To increase profits
C. To develop marketing strategies
D. To manage employee attendance

Correct Answer: Option A


Explanation:
A security policy establishes guidelines and rules for acceptable use of an organization's resources, outlining security measures and responsibilities to protect information assets.

This question belongs to: Computer Cyber Security
Question #2 Report Error
Which of the following is a common technique used in phishing attacks?
A. Sending fraudulent emails that appear to come from legitimate sources
B. Installing a virus on a computer
C. Denial-of-service attack
D. Physically stealing hardware

Correct Answer: Option A


Explanation:
Phishing attacks often involve sending deceptive emails that look like they are from reputable companies to trick recipients into providing sensitive information.

This question belongs to: Computer Cyber Security
Question #3 Report Error
What is 'whaling' in cybersecurity?
A. A physical attack
B. A type of virus
C. A type of firewall
D. A phishing attack targeting high-profile individuals like CEOs

Correct Answer: Option D


Explanation:
Whaling is a specific type of phishing attack that targets senior executives or high-profile individuals within an organization, often using sophisticated and personalized messages.

This question belongs to: Computer Cyber Security