Skip to content
Skills
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Home
/
Frontend Developer
/
Questions
/
Web application security
Frontend Developer
Web application security questions
16 questions on Web application security for frontend developers, easiest first.
Easy
3
Links that open a new tab
easy
A secret key in import.meta.env
easy
A name containing a script tag
easy
Medium
5
Fixing a CORS error
medium
Where to keep a session token
medium
Secret key with NEXT_PUBLIC_ prefix
medium
Showing a user comment
medium
Security of a Server Function
medium
Hard
8
Preventing XSS from user HTML
hard
A CSP that stops injected scripts
hard
CSRF risk left with SameSite=Lax
hard
Unsafe postMessage listener
hard
onclick stops working after adding CSP
hard
Relying on accept for uploads
hard
Deep merge of user JSON
hard
A user-supplied website link
hard