The OWASP Top 10 is an awareness document published by the Open Worldwide Application Security Project (OWASP), a nonprofit foundation, that ranks the ten most critical security risk categories for web applications. It is based on vulnerability data contributed by organizations and on a community survey, and is updated every few years; the 2021 edition starts with Broken Access Control and includes Injection and Server-Side Request Forgery. It is widely used for training, secure development and as a reference in security requirements, but it is not a complete standard or a certification.
What is the OWASP Top 10?
The OWASP Top 10 is the best-known list in application security. OWASP, the Open Worldwide Application Security Project (formerly Open Web Application Security Project), is a nonprofit foundation that runs open community projects. The Top 10 was first published in 2003 and has been revised several times, with editions in 2004, 2007, 2010, 2013, 2017 and 2021. Each edition names ten categories of risk, each grouping related weaknesses listed as CWE entries, with descriptions, examples and prevention advice.
The 2021 edition combined vulnerability data contributed by testing companies and organizations with a community survey: eight categories came from the data and two from the survey, including server-side request forgery. In late 2025 OWASP presented a 2025 edition that reorders and renames several categories, among other things adding software supply chain failures and folding SSRF into broken access control. Because many tools, policies and courses still refer to the 2021 numbering, this article explains that edition; check the official OWASP project page for the current list.
The OWASP Top 10 2021
| ID | Category | Typical example |
|---|---|---|
| A01 | Broken Access Control | Changing an ID in the URL shows another customer's data; missing authorization checks on admin APIs. |
| A02 | Cryptographic Failures | Sensitive data sent without TLS, weak password hashing, hard-coded keys. |
| A03 | Injection | SQL injection, OS command injection and cross-site scripting. |
| A04 | Insecure Design | A password reset flow based on guessable security questions; no rate limits on business-critical actions. |
| A05 | Security Misconfiguration | Default credentials, verbose error pages, open cloud storage buckets, unnecessary features enabled. |
| A06 | Vulnerable and Outdated Components | A library with a known CVE that was never updated. |
| A07 | Identification and Authentication Failures | No protection against credential stuffing or brute force, weak session handling. |
| A08 | Software and Data Integrity Failures | Unsigned updates, insecure deserialization, CI/CD pipelines that pull untrusted code, the root of many supply chain attacks. |
| A09 | Security Logging and Monitoring Failures | Logins and access failures are not logged, alerts are missing, logs are not reviewed. |
| A10 | Server-Side Request Forgery (SSRF) | A URL import feature lets attackers reach the cloud metadata service. |
What the categories mean in practice
Access control and authentication (A01, A07)
Broken access control moved to the top in 2021. It covers horizontal and vertical privilege escalation, missing checks on API endpoints and permissive CORS settings. The fix is authorization enforced on the server for every request, denied by default, with least privilege roles. Authentication failures add weak password policies, missing multi-factor authentication and session IDs that do not expire.
Injection and design (A03, A04)
Injection remains common because a single unsafe query or template in a large codebase is enough. Parameterized queries, auto-escaping templates and context-aware encoding address it. Insecure design, new in 2021, makes the point that some flaws cannot be fixed by perfect code: threat modeling and secure design patterns are needed before implementation.
Configuration, components and integrity (A05, A06, A08)
These categories are about everything around your code: cloud and server configuration, third-party libraries and the build pipeline. Infrastructure as code reviews, dependency scanning with an SBOM, signed artifacts and protected CI/CD pipelines are the main controls. CVSS scores help sort known component vulnerabilities, ideally together with exploitation data.
Logging and monitoring (A09)
A09 is the category closest to operations. Without logs of logins, access control failures and server-side input validation failures, without alerting and without someone who looks, attacks go unnoticed for a long time. OWASP's guidance includes logging these events with enough context, protecting logs against tampering and having an incident response plan.
Related OWASP projects
- OWASP API Security Top 10 (editions 2019 and 2023): risks specific to APIs, led by broken object level authorization and including unrestricted resource consumption and SSRF. See the guide to API security monitoring with the OWASP API Top 10.
- OWASP Top 10 for LLM Applications: risks for applications built on large language models, starting with prompt injection.
- OWASP ASVS (Application Security Verification Standard): a detailed catalog of testable security requirements, better suited than the Top 10 as a basis for audits and contracts.
- OWASP Cheat Sheet Series: concise, practical guidance on topics such as authentication, XSS prevention and logging.
How to use the OWASP Top 10
- Training and awareness: the list gives developers, testers and product owners a shared vocabulary.
- Secure development: map each category to concrete controls in your stack, for example which ORM functions are allowed, how authorization is enforced and which dependency checks run in CI.
- Testing: use the categories to structure code reviews, static and dynamic testing and penetration tests, without assuming that ten categories cover everything.
- Prioritization: the order of the list reflects how common and impactful risks are across many applications, not in yours. Use it as a starting point and weigh it against your own architecture, data and findings.
- Requirements: many security policies and customer questionnaires reference the Top 10; for detailed, verifiable requirements, ASVS is the better fit.
Common mistakes
- Treating the Top 10 as a checklist or a standard to certify against. It is an awareness document; being "OWASP Top 10 compliant" has no defined meaning.
- Assuming that a WAF covers the Top 10. A WAF can block some injection patterns, but it cannot fix broken access control or insecure design.
- Focusing on injection and ignoring A09, so that attacks in the other categories go unnoticed.
- Using an outdated edition without noting which version a policy refers to.
The observability perspective
Several categories leave traces in operational data. Access control failures show up as spikes in 403 responses or as users touching unusual objects, injection attempts as error bursts and database errors, SSRF as unexpected outgoing calls in traces, and vulnerable components as packages in services that receive real traffic. A09 is essentially an observability requirement: security-relevant events need to be logged, kept, searchable and connected to alerting. Teams that already run central logging, tracing and alerting have much of the foundation in place and need to add the security events and detections on top.
How Obseria helps
Obseria does not make an application "OWASP compliant" and is not a WAF; it helps find weaknesses and see attacks related to several categories. Static code analysis (SAST) finds insecure patterns such as injection flaws before release, software composition analysis checks dependencies for known vulnerabilities (A06), and IaC security and cloud security posture management find misconfigurations (A05). Runtime code analysis shows weaknesses that the running application exposes. App and API threat detection recognizes attacks such as SQL injection, path traversal and scans in access logs, detection only. For A09, Security Log Analytics, the Cloud SIEM and alerting keep security events searchable and connected to notifications.