DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Web Security Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Web Security
What's the key difference in what XSS and CSRF each 'forge'?
A
They forge the exact same thing
B
XSS forges code EXECUTION in the target's own origin; CSRF forges a REQUEST, using the victim's browser as an unwitting cookie-delivery mechanism from a different origin
C
CSRF forges code execution; XSS forges requests
D
Neither actually forges anything
Check Answer