Is CSRF and Cross-site Scripting the same thing.
-
yes
-
no
-
not a valid question
-
No Idea
B
Correct answer
Explanation
CSRF (Cross-Site Request Forgery) and XSS (Cross-Site Scripting) are fundamentally different vulnerabilities. XSS injects malicious scripts that execute in the victim's browser, while CSRF tricks the victim's browser into making unauthorized requests using their existing authentication. CSRF requires no script injection - it exploits the browser's automatic cookie behavior.