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 is the fundamental mechanic that makes XSS possible?
A
A bug specific to older browsers only
B
Attacker-controlled data reaching a sink the browser interprets as executable code/markup, with no boundary between trusted and untrusted content
C
It only happens when cookies aren't encrypted
D
It requires a database to be involved
Check Answer