An attacker crafts a malicious link containing script code, which is then sent to unsuspecting users. When clicked, the script executes in the context of the user's session on a particular website. This scenario describes a ____________ attack.
- Cross-Site Request Forgery (CSRF)
- Cross-Site Scripting (XSS)
- DNS Spoofing
- Phishing
The described scenario represents a Cross-Site Scripting (XSS) attack, where an attacker injects malicious script code into a link. When users click the link, the script executes in the context of their sessions on the targeted website. XSS attacks can lead to session hijacking and unauthorized actions. Recognizing and preventing XSS vulnerabilities is critical for maintaining the security of web applications.__________________________________________________
Loading...
Related Quiz
- What does the 'shared responsibility model' in cloud computing imply for cloud security?
- Which of the following is NOT a recommended practice to prevent SQL injection?
- A developer is creating a decentralized application (dApp) on a blockchain platform. The application automatically executes contracts when certain conditions are met. This functionality is enabled by ____________.
- Which part of a digital signature process involves generating a value that is unique to the signed data?
- A ____________ attack involves overwhelming a system with traffic or information to make it unavailable to users.