Question Bank · Section 14

Security in React

10 questions. XSS, CSRF, token storage, clickjacking, CSP, secure auth flows and avoiding data leaks in React apps.

React escapes output by default, but that does not make an app secure. Interviewers use these questions to see whether you understand where the browser trust boundaries are: what React protects for you, what it does not, and which defenses must live on the server.