The OWASP Top 10 is a ranked list of the most critical risk categories for web applications. It was published by the OWASP Foundation, a nonprofit community, and it is the reference most developers, testers and auditors reach for first. It is a shared vocabulary, not a complete test plan: each category describes a family of weaknesses, and the useful question is where in your own product each family could appear.
This guide goes through the categories in plain language, shows what each one looks like in a real application, and explains how to test for it. For background on the method itself, read web application security testing first.
What the Top 10 Is, and What It Is Not
The list is built from data collected from many organizations and refreshed over time. Its job is to direct attention to the risks that cause the most harm in practice. It is not a standard you can pass or fail, and it does not describe every bug in each category.
It is also worth knowing that the list is revised. Categories are merged, renamed and reordered between editions. The version below is the 2021 edition, which is the one most teams still reference. Before you quote the exact numbering in a policy or a report, check the current edition on the OWASP Top 10 page.
The Ten Categories
The table gives a one-line view of each category, and the sections after it explain them in more detail.
| Category | In one line | Quick test |
|---|---|---|
| A01 Broken Access Control | Users reach what they should not | Two accounts, swap IDs, call admin routes |
| A02 Cryptographic Failures | Sensitive data is weakly protected | Check HTTP endpoints and TLS settings |
| A03 Injection | Input is run as a query, command or markup | Send special characters to every field |
| A04 Insecure Design | The control was never designed in | Walk the flows and ask what an attacker wants |
| A05 Security Misconfiguration | Defaults, debug pages and open settings | Check headers, errors and exposed paths |
| A06 Vulnerable Components | Known flaws in libraries and plugins | Inventory versions and compare them |
| A07 Authentication Failures | Logins, sessions and resets are weak | Test rate limits, sessions and reset links |
| A08 Integrity Failures | Code or data is trusted without checks | Verify webhook signatures and sources |
| A09 Logging Failures | Attacks happen without leaving a trace | Trigger failed logins and check the logs |
| A10 Server-Side Request Forgery | The server fetches a URL the attacker chose | Test every URL-fetching feature |
A01: Broken Access Control
Users act outside what they are allowed to do. One account reads another account's invoices, a member calls an admin endpoint, or a user changes their own role by editing a request. It sits at the top because it is common, it has serious consequences, and it is invisible to pattern matching.
To test it, create two accounts in each role and try to reach each other's objects, change fields that should be controlled by the server, and call admin routes with lower-privileged tokens. Our guide to IDOR and broken access control shows the bug in code.
A02: Cryptographic Failures
Sensitive data is exposed because it is not protected properly. Common examples are pages that send passwords or personal data over plain HTTP, old TLS versions still enabled, and passwords stored with weak or unsalted hashes. Some of this is invisible from the outside, so the test looks for what you can see: which endpoints answer over HTTP, what TLS versions the server accepts, and whether responses return sensitive values in plain form.
A03: Injection
Untrusted input is interpreted as part of a command or query. SQL injection is the classic example, but the same family includes NoSQL injection, operating system command injection and template injection. Cross-site scripting is also listed under injection in the 2021 edition, because it is the same mistake in the browser: data is treated as code. Our explainer on XSS covers that case in depth.
To test it, send special characters and unexpected syntax to every input, and watch for errors, changed results or delays. Well-built applications use parameterized queries and safe templating, so a clean response to a quote character is a good sign.
A04: Insecure Design
The security control was never designed in. A password reset flow with no rate limit, a multi-tenant feature with no notion of tenants, or a discount system that never considered reuse can be implemented perfectly and still be insecure. Fixing these means changing the design, not patching a line.
To test it, walk through the business flows and ask what an attacker would want from each one. Business logic tests, such as repeated coupon use or skipped payment steps, are where this category shows up.
A05: Security Misconfiguration
Default settings, verbose errors, open storage, unnecessary features and missing headers all fall here. A debug page left on in production, a bucket with public listing, or a CORS rule that accepts any origin are typical findings. Many of these are quick to fix and easy to check: look at responses, headers and exposed paths.
A06: Vulnerable and Outdated Components
Libraries, frameworks and plugins with known vulnerabilities are a risk even when your own code is careful. The test is to inventory the components the app uses, check their versions against public vulnerability databases, and confirm that outdated ones are updated or removed. Dependency scanners automate much of this and are a good fit for this category.
A07: Identification and Authentication Failures
Weak logins, predictable session handling and unsafe password recovery. Typical findings are no limit on login attempts, sessions that survive a password change, and reset links that never expire. Our authentication security checklist lists what to verify, and it follows the same logic as OWASP's own cheat sheets.
A08: Software and Data Integrity Failures
The app trusts code or data without verifying where it came from. Examples include updates or plugins loaded without signature checks, build pipelines that run untrusted code, and webhooks that are accepted without verifying their signature. To test it, check that inbound webhooks verify signatures, that third-party scripts are loaded from sources you trust, and that the build and deployment steps are controlled.
A09: Security Logging and Monitoring Failures
When something goes wrong, nobody notices. Failed logins, access denials and admin actions are not logged, or the logs are never reviewed and no alert fires. This category does not usually cause the breach itself, but it determines how long a breach stays hidden. To test it, trigger a series of failed logins and admin actions in a test environment, and check whether the events are recorded and whether anyone would be alerted.
A10: Server-Side Request Forgery
The server makes a request to a URL that the user controls, and the attacker uses that to reach systems the outside world cannot see. Features that import from a link, generate previews of a web page or fetch an avatar are the usual places. To test it, find every feature that accepts a URL and check whether it can reach internal addresses or cloud metadata services. The fix is an allowlist of destinations and network controls that block internal ranges from the application server.
How to Use the List in a Test
A practical order helps. Start with the categories that are easiest to reach from outside, such as misconfiguration and authentication, because they give quick wins and show the state of the basics. Then move to access control and injection, which need more careful work with accounts and inputs. Finish with the business flows that fall under insecure design, because they depend on understanding what the product is supposed to do.
Keep the evidence from each step. A short note of what you tried, with which account and what came back, is enough to repeat the test after a fix.
Use the Top 10 as a map of where to look, not as a checklist you complete once. For each feature, ask which categories could apply. A new upload feature touches injection, access control and misconfiguration. A new API endpoint touches access control, input handling and data exposure. A new login method touches authentication and logging.
This is also the right way to organize findings in a report. Tagging each finding with its category helps developers see patterns, such as several access control issues in the same module, and helps leadership see where the risk concentrates. Our guide to how to read a penetration test report explains what a useful finding contains.
Where the Top 10 Falls Short
The list is not built for APIs. OWASP publishes a separate API Security Top 10, which puts object level authorization at the top, and it is the better guide for a product whose main surface is an API. For a deeper and more formal reference, the Application Security Verification Standard lists specific requirements that can be checked one by one.
Most importantly, the list cannot tell you whether your product's rules are correct. It names the categories where rules tend to break, but only a test with real accounts can show whether a particular rule holds. Our guide to API security testing goes into the checks that matter for endpoints.
Using the List With Developers
Developers respond best to specifics. Instead of saying "fix injection," show the input, the response and the line of code that builds the query. Instead of saying "improve access control," show the request that succeeded with another user's token and the check that should have refused it. Mapping each issue to a category then helps the team fix the root cause, so the next feature does not repeat the same pattern.
Next steps
Pick the three categories most relevant to your product, probably access control, authentication and misconfiguration for most web apps, and check each against your last release. Then run a full test that covers all ten. You can see how a run is scoped on our web application penetration testing page, compare plans on pricing, or start a scan.
FAQ