OWASP Top 10: Ten Web Application Security Risks Every Developer Should Know
The OWASP Top 10 is the most widely used reference on web application security risks. Learn what it contains and how to prevent these risks from the design stage.

OWASP (Open Worldwide Application Security Project) is an open community that publishes the OWASP Top 10 — a standard awareness document about the most critical security risks to web applications. The list is compiled from real vulnerability data and community surveys, and it is updated periodically.
The 2021 edition
- A01 Broken Access Control — users can access data or functions beyond their permissions.
- A02 Cryptographic Failures — sensitive data is not encrypted or uses weak cryptography.
- A03 Injection — including SQL injection and cross-site scripting (XSS).
- A04 Insecure Design — flaws born in the design, not just implementation bugs.
- A05 Security Misconfiguration — default settings, overly verbose error messages, missing security headers.
- A06 Vulnerable and Outdated Components — outdated libraries and frameworks.
- A07 Identification and Authentication Failures — fragile sessions and logins.
- A08 Software and Data Integrity Failures — updates and CI/CD pipelines without integrity checks.
- A09 Security Logging and Monitoring Failures — attacks go undetected because logging is insufficient.
- A10 Server-Side Request Forgery (SSRF) — the server is tricked into accessing internal resources.
Notably, Broken Access Control moved to first place in the 2021 edition, showing that authorisation mistakes are the most frequently found issue in tested applications.
Prevent rather than patch
- Check authorisation on the server for every request, not just by hiding buttons in the interface.
- Use parameterised queries and output escaping to close injection gaps.
- Manage dependencies with vulnerability scanners and a regular update schedule.
- Apply security headers such as Content-Security-Policy and a minimal production configuration.
- Log security events (failed logins, permission changes) and monitor them actively.
OWASP also provides the Application Security Verification Standard (ASVS) for teams that want a more detailed, testable list of controls. Always check the official OWASP site for the latest edition, as the list is revised to reflect evolving threats.
Sources & references
This article is a summary and interpretation by the Oemah Solution team of the sources below. Refer to the original sources for full details and context.


