Multiple choice technology security

In which of the following exploits does an attacker insert malicious code into a link that appears to be from a trustworthy source?

  1. Cross-Site Scripting

  2. Buffer over flows

  3. Command injection

  4. Path traversal attack

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Cross-Site Scripting (XSS) attacks occur when an attacker injects malicious scripts into content from a seemingly trusted source, like a compromised link or reflected input. The script executes in the victim's browser context. Buffer overflows and command injection are different vulnerability classes that don't involve malicious links.