Multiple choice technology security

Whats the use of adding the CSRF Token to the urls?

  1. Prevent Cross Site Scripting

  2. Prevent Cross Site Request Forgery

  3. Prevent Cross Site Tracing

  4. None of the above

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

CSRF tokens prevent Cross Site Request Forgery by ensuring requests are genuinely from the intended user. They do not prevent XSS (A) or XST (C) which are different vulnerability classes.