Code you did not write, and secrets you should not ship · mid
OWASP Top 10 (2025) from a frontend engineer's view
The OWASP Top 10:2025 lists the most important web app risk categories, from Broken Access Control (still #1) to the new Software Supply Chain Failures (#3) and Mishandling of Exceptional Conditions (#10), and a senior frontend engineer should map each to what the client can and cannot do.
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceThe notes
What you must know
- 2025 list: A01 Broken Access Control, A02 Security Misconfiguration, A03 Software Supply Chain Failures, A04 Cryptographic Failures, A05 Injection, A06 Insecure Design, A07 Authentication Failures, A08 Software or Data Integrity Failures, A09 Security Logging & Alerting Failures, A10 Mishandling of Exceptional Conditions.
- Changes from 2021: SSRF merged into A01; supply chain expanded from 'vulnerable and outdated components'; Security Misconfiguration rose to #2; A10 is new.
- A01 for frontend: hiding a button is not access control; every API and Server Action must check permissions on the server (IDOR: /api/orders/123 must check ownership).
- A05 Injection includes XSS. A02 includes missing security headers, open CORS, verbose errors. A03/A08: npm and CDN risks, SRI, unsigned updates (OTA).
- A07: token storage, session expiry, MFA, rate limits on login. A10: failing open on errors (for example, treating a failed permission check as 'allowed').
The red pen
Common traps: mistake → fix
Mistake: "We hide admin routes in the UI, so access is controlled"
Fix: anyone can call the API directly; authorise on the server.
Mistake: "XSS is its own Top 10 category"
Fix: since 2021 it is part of Injection.
Easy to hard
Questions interviewers ask, easy to hard
- Name a few OWASP Top 10 categories and a frontend example for each.
- Which ones can the frontend actually fix, and which only reduce risk?
- What changed in the 2025 list and why does supply chain matter for frontend teams?
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceYour first interview is free
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.