What form of software vulnerability allows threat actors to execute arbitrary client-side scripts inside other users' browsers by compromising vulnerable web outputs? MCQ with Answer and Explanation

What form of software vulnerability allows threat actors to execute arbitrary client-side scripts inside other users' browsers by compromising vulnerable web outputs?
A. Buffer Overflow
B. Cross-Site Scripting (XSS)
C. Zero-Day Exploit
D. SQL Injection
Answer: Option B
Solution (By JKSSB Mock Tests)
XSS allows threat actors to execute malicious client-side scripts inside other users' browser views by compromising vulnerable web outputs.

Discuss this Question (0)

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

Practice More Cyber Security Questions

Question #1
What type of attack relies on social engineering to drop malicious flash drives in a company parking lot, hoping an employee will plug one into a corporate workstation out of curiosity?
A. Baiting
B. Smishing Attempt
C. Pharming Exploit
D. Whaling Attack

Correct Answer: Option A


Explanation:
Baiting uses the promise of an item or curiosity (like a misplaced USB drive with an intriguing label) to entice victims into compromising their own system security.

This question belongs to: Computer Cyber Security
Question #2
What form of malicious script runs automatically whenever an infected Microsoft Office document or database sheet is loaded, exploiting built-in macro tools?
A. Boot Sector Threat
B. Macro Virus
C. Asynchronous Worm
D. Network Packet Sniffer

Correct Answer: Option B


Explanation:
Macro viruses exploit programming languages embedded inside productivity suite applications, running automated scripts when files are opened.

This question belongs to: Computer Cyber Security
Question #3
Which of the following is a best practice for email security?
A. Disabling spam filters
B. Verifying the sender's email address before clicking on links
C. Replying to all phishing emails
D. Opening attachments from unknown senders

Correct Answer: Option B


Explanation:
Verifying the sender's email address and being cautious with links and attachments are important steps to protect against phishing and malware.

This question belongs to: Computer Cyber Security