OWASP Top 10 overview
Name each OWASP Top 10 category and give one prevention for each.
By Invicly Tech, , in Cyber Security Fundamentals. About 10 minutes to read.
In short
The OWASP Top 10 is a widely used list of the most critical web application security risks. For a defender it is a checklist: know each category, its typical cause, one prevention and how it might show up in logs.
Explained simply
OWASP (the Open Worldwide Application Security Project) is a non-profit community that publishes free security guides and tools. Its best-known document is the Top 10: a list of the most important risk categories in web applications, built from data on real vulnerabilities and a survey of practitioners.
The Top 10 is not a full standard and not a checklist of exact bugs. Each entry is a category that covers many related weaknesses. For example, Injection covers SQL injection, command injection and more.
For a defender, the list is useful in three ways. It gives developers and security people a shared language. It points reviews and tests at the most common problems. And it helps you decide what to look for in logs and alerts.
The list is updated every few years. The 2021 edition is still widely referenced, and the 2025 edition is the latest. Both put broken access control at number one, because it is found in so many applications.
Press Play on a diagram to walk through it one step at a time.
- Access
- Broken access control
- Crypto
- Cryptographic failures
- Input
- Injection
- SSRF
- Design & config
- Insecure design
- Misconfiguration
- Components
- Vulnerable dependencies
- 1Design
Threat model against each category
- 2Code
Secure patterns and peer review
- 3Build
Dependency and code scanning in CI
- 4Test
Access control tests, DAST scans
- 5Run
WAF, logging and alerts per category
In depth
The 2025 list in one sentence each
A01 Broken Access Control: users reach data or actions they should not; SSRF is now part of this category. A02 Security Misconfiguration: unsafe defaults, open admin pages, verbose errors. A03 Software Supply Chain Failures: vulnerable or malicious dependencies, build tools and pipelines. A04 Cryptographic Failures: data not encrypted, weak algorithms, poor key handling. A05 Injection: untrusted input runs as code, including SQL injection and XSS. A06 Insecure Design: missing security controls in the design itself, such as no limit on a costly action. A07 Authentication Failures: weak login, session and credential handling. A08 Software or Data Integrity Failures: trusting updates, plugins or serialized data without verifying them. A09 Logging and Alerting Failures: attacks go unseen or nobody is alerted. A10 Mishandling of Exceptional Conditions: errors that fail open, leak details or leave the system in an unsafe state.
Always check owasp.org for the current version before using numbers in reports.
What changed from 2021
The 2021 list was: A01 Broken Access Control, A02 Cryptographic Failures, A03 Injection, A04 Insecure Design, A05 Security Misconfiguration, A06 Vulnerable and Outdated Components, A07 Identification and Authentication Failures, A08 Software and Data Integrity Failures, A09 Security Logging and Monitoring Failures, A10 Server-Side Request Forgery.
In 2025, misconfiguration moved up, reflecting how much of modern apps is configuration (cloud, containers, frameworks). Vulnerable components grew into a wider supply chain category that also covers build systems and package registries. SSRF was folded into broken access control, and a new category for mishandling exceptional conditions was added.
The practical point: the core problems barely change. Access checks, safe handling of input, good configuration and trustworthy dependencies cover most of both lists. Many tools and reports still use the 2021 IDs, so note which edition you mean, for example A03:2021 or A05:2025 for injection.
- A01 Broken Access Control
- A02 Cryptographic Failures
- A03 Injection
- A06 Vulnerable Components
- A10 SSRF (own category)
- A01 Broken Access Control (now includes SSRF)
- A02 Security Misconfiguration
- A03 Software Supply Chain Failures
- A05 Injection
- A10 Mishandling of Exceptional Conditions
Matching each category to a defence
Each category has a main preventive control. Broken access control: deny by default and check ownership on the server for every request. Misconfiguration: hardened, repeatable configuration in code, with debug modes and default accounts off. Supply chain: a dependency inventory (SBOM), automated vulnerability scanning and pinned, verified packages. Cryptographic failures: TLS everywhere, strong algorithms from good libraries, keys in a key manager. Injection: parameterised queries and context-aware output encoding. Insecure design: threat modelling and abuse cases during design. Authentication failures: MFA, rate limits, slow password hashing and secure sessions. Integrity failures: signed updates and no unsafe deserialization of untrusted data. Logging failures: log security events centrally and alert on them. Exceptional conditions: fail closed, with generic error messages to users and detailed ones only in logs.
No single tool covers all ten. Scanners find many injection and configuration issues, but access control and design flaws mostly need code review and tests.
Finding the categories in web server logs
Many attacks leave visible traces in access logs, especially in the URL and query string. Injection attempts show SQL fragments such as quotes, UNION SELECT or sleep( in parameters, often URL-encoded (%27 is a quote). XSS probes contain script tags or event handlers like onerror=. Path traversal shows ../ or %2e%2e%2f. SSRF attempts put internal addresses such as 169.254.169.254 or localhost into URL parameters. Misconfiguration scanning hits /.git/config, /.env, /server-status or /actuator. Authentication attacks show bursts of POSTs to the login page with 401 responses. Access control probing shows one user requesting many sequential IDs, with a mix of 200 and 403.
Logs miss a lot: POST bodies are usually not logged, and a quiet IDOR looks like normal traffic. So combine access logs with application logs that record authorization failures, and with WAF logs.
- Injection
- Quotes, UNION SELECT, sleep(
- %27 and other encoding
- Spikes of 500 errors
- XSS
- script tags in parameters
- onerror= or javascript:
- Access control / SSRF
- Sequential IDs from one user
- 169.254.169.254 in a URL parameter
- Misconfiguration
- /.env, /.git/config
- /actuator, /server-status
- Authentication
- Many POST /login with 401
- Many usernames from one IP
Learn it in 4 short steps
About 45m each. Track them with a timer in your plan.
- 1Read the current Top 10 list~45m
- 2Summarise each category in a sentence~45m
- 3Match each category to a defence~45m
- 4Find each category in web server logs~45m
Key points
- The Top 10 ranks the most critical web risks.
- Broken access control is consistently near the top.
- Each category pairs with a known prevention.
- Use it as a review and detection checklist.
Key terms
Tap a card to flip it. 0/4 known
Examples
Triage: which categories does this app have?
A short review of a small web shop finds four issues. Step 1: the order page shows any order when you change the ID in the URL: Broken Access Control. Step 2: a stack trace with the framework version appears on errors: Security Misconfiguration (and poor exception handling). Step 3: the image library has a known critical CVE: Software Supply Chain Failures. Step 4: failed logins are not logged anywhere: Logging and Alerting Failures. Step 5: prioritise: the access control bug exposes customer data today, so it is fixed first, with a test that proves user A cannot read user B's order.
Searching access logs for common probes
Step 1: decode URL encoding so %27 becomes a quote. Step 2: search for patterns tied to each category. Step 3: group by client IP to see who is probing. Step 4: check the status codes: probes that got 200 or 500 deserve a closer look, because the app may have responded to them. A 404 or 403 usually means the probe failed.
python3 -c 'import sys, urllib.parse as u; [print(u.unquote(l), end="") for l in sys.stdin]' \
< access.log > decoded.log
grep -iE "union select|sleep\(|' or '1'='1" decoded.log | awk '{print $1, $9, $7}' | head # injection
grep -iE "<script|onerror=|javascript:" decoded.log | awk '{print $1, $9}' | head # XSS
grep -E "\.\./|169\.254\.169\.254" decoded.log | awk '{print $1, $9, $7}' | head # traversal, SSRF
grep -E "/\.env|/\.git/" decoded.log | awk '{print $1}' | sort | uniq -c | sort -rn | head # scannersQuick reference
- 2025: A01 Broken Access Control, A02 Misconfiguration, A03 Supply Chain, A04 Crypto, A05 Injection
- 2025: A06 Insecure Design, A07 Authentication, A08 Integrity, A09 Logging and Alerting, A10 Exceptions
- Broken access control is number 1 in both 2021 and 2025
- SSRF was its own category in 2021 and is part of Broken Access Control in 2025
- Always state the edition: A03:2021 and A05:2025 are both Injection
- Scanners catch injection and misconfiguration; access control needs tests and review
- URL-decode logs before searching: %27 is a quote, %2e%2e%2f is ../
- Probes answered with 200 or 500 deserve more attention than 404s
Quick quiz
Pick an answer to see if you're right and why.
Practice exercises
Try each one yourself first. Use the hint if you get stuck, then compare with the solution.
- Exercise 1easy
For each of these findings, name the 2025 Top 10 category: default admin password still active; passwords stored as MD5; npm package with a known critical CVE; no alert on 1,000 failed logins.
- Exercise 2medium
Make a one-page table for your team: each 2025 category, one preventive control, and one detection idea.
- Exercise 3hard
Write a small Python script that reads an access log, URL-decodes each line and counts hits per IP for three categories: injection, traversal or SSRF, and sensitive file probes.
Check yourself
Answer in your head, reveal, then be honest with yourself.
Feel confident about this topic?
Frequently asked questions
- Is the OWASP Top 10 a security standard I can comply with?
- Not really. It is an awareness document listing risk categories. For a testable standard, OWASP recommends the Application Security Verification Standard (ASVS).
- Should I use the 2021 or the 2025 list?
- Use the latest edition for new work, but many tools and older reports still use 2021 IDs. Always write the year with the ID, such as A01:2025, to avoid confusion.
- Is there a Top 10 for APIs?
- Yes. The OWASP API Security Top 10 (latest edition 2023) focuses on API-specific risks such as broken object level authorization and unrestricted resource consumption.