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. Zero-Day Exploit
C. Buffer Overflow
D. SQL Injection
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.

Discuss this Question (0)

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

Practice More Cyber Security Questions

Question #1
Which of the following is a method to prevent unauthorized access to a system?
A. Using default passwords
B. Disabling firewalls
C. Sharing login credentials
D. Multi-factor authentication

Correct Answer: Option D


Explanation:
Multi-factor authentication requires users to provide multiple forms of verification, significantly reducing the risk of unauthorized access even if one factor is compromised.

This question belongs to: Computer Cyber Security
Question #2
Which of the following is a common security risk associated with mobile devices?
A. Unsecured Wi-Fi
B. All of the above
C. Physical theft
D. Malicious apps

Correct Answer: Option B


Explanation:
Mobile devices face multiple security risks, including malicious apps, physical theft, and unsecured Wi-Fi networks, requiring comprehensive protection measures.

This question belongs to: Computer Cyber Security
Question #3
What is 'cybercrime'?
A. A crime that is always violent
B. A criminal activity that is committed using computers or the internet
C. A crime that involves physical theft
D. A crime that involves only financial fraud

Correct Answer: Option B


Explanation:
Cybercrime refers to any illegal activity that involves a computer, network, or the internet, including identity theft, hacking, and online fraud.

This question belongs to: Computer Cyber Security