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 involves injecting malicious code into links or content from an apparently trustworthy source, exploiting the user's trust. Buffer overflows (B) are memory corruption vulnerabilities. Command injection (C) executes system commands directly. Path traversal (D) accesses files outside the web root. Only XSS involves the deceptive link characteristic.