OWASP Top 10 2025: Every risk explained

A guide to the ten most important web application security risks from the 2025 edition. Learn what changed since the 2021 edition and how to mitigate each risk. Practice with hands-on examples and simulated attacks.

By Malcolm McDonald Founder, Editor-in-ChiefAuthor of Grokking Web Application Security

Updated

Training a team on the OWASP Top 10? Track completion and get audit-ready reports
The basics

What is the OWASP Top 10?

The OWASP Top 10 is a ranked list of the ten most critical security risks to web applications. It comes from the Open Worldwide Application Security Project (OWASP), a nonprofit foundation that builds the list from industry data and a community survey. A new edition comes out every three or four years. The 2025 edition is the current one, and there is no 2026 edition.

The list matters because it gives everyone the same names for the same problems. Many security scanners and penetration test reports label what they find with its categories. A team that knows the ten risks can read a finding and recognize the flaw behind it.

How does OWASP decide on the top 10?

OWASP calls its method “data-informed, but not blindly data-driven.” It has three steps:

  1. Testing data. Security companies donate the results of their testing. For 2025 that covered more than 2.8 million applications. OWASP counts how many of those applications have each weakness at least once.
  2. Exploit and impact scores. About 175,000 public vulnerability (CVE) records show how easy each weakness is to exploit and how much damage it can do. OWASP groups related weaknesses by root cause, then ranks the groups on incidence, exploitability and impact together.
  3. Community survey. Automated tests miss some risks, so only eight categories come from the data. Practitioners vote in the other two. In 2025, the survey put Software Supply Chain Failures (A03) and Security Logging and Alerting Failures (A09) on the list.

Source: OWASP Top 10:2025 introduction

What changed in the 2025 edition

There are three major changes in the 2025 OWASP Top 10 from the 2021 version .

Coverage matrix

The OWASP Top 10 2025, mapped to hands-on lessons

Pick a lesson to see what it teaches. A lesson that covers two risks shows in both rows.

A01:2025 Still #1, now with SSRF

1. Broken Access Control

Users can reach data or actions their permissions should block, such as other users' records or admin-only functions. For 2025, this category also covers server-side request forgery (SSRF).

A01 on owasp.org
A02:2025 Up 3 from #5

2. Security Misconfiguration

A server, framework, or cloud service runs with unsafe settings. Common examples are default credentials left unchanged, security features turned off, and error pages that show too much.

A02 on owasp.org
A03:2025 New in 2025

3. Software Supply Chain Failures

Attackers reach your application through what you build it with: third-party packages, build tools, and CI/CD pipelines. A malicious or tampered dependency can ship to production with your next release.

A03 on owasp.org
A04:2025 Down 2 from #2

4. Cryptographic Failures

Encryption is missing, outdated, or set up wrong, so attackers can read or change sensitive data. Typical causes are broken algorithms, poorly managed keys, and data sent without HTTPS.

A04 on owasp.org
A05:2025 Down 2 from #3

5. Injection

User input reaches a database query, an operating system command, or a web page, and the system runs it as code. SQL injection, command injection, and cross-site scripting (XSS) all belong here.

A05 on owasp.org
A06:2025 Down 2 from #4

6. Insecure Design

The weakness comes from a design decision, so careful coding later cannot fix it. Teams prevent it by setting security requirements and modeling threats before they build.

A06 on owasp.org
A07:2025 Same rank, renamed

7. Authentication Failures

Attackers log in as real users because login or session handling is weak. Credential stuffing, brute-force guessing, weak passwords, and guessable session IDs all lead here.

A07 on owasp.org
A08:2025 Same rank

8. Software or Data Integrity Failures

The application trusts code or data without checking that nobody changed it. Examples are unsigned updates, unsafe deserialization, and request data that overwrites fields a user should never set.

A08 on owasp.org
A09:2025 Same rank, renamed

9. Security Logging and Alerting Failures

Without enough logging and alerting, nobody notices an attack while it happens. Attackers can stay in your systems and change or steal data long before anyone finds out.

A09 on owasp.org
A10:2025 New in 2025

10. Mishandling of Exceptional Conditions

The application handles errors and unusual input badly. It crashes, shows sensitive details in an error message, or fails open, letting a request through when a security check breaks.

A10 on owasp.org
Impact worryingharmfuldevastating Browse all 45 lessons

Source: OWASP Top 10:2025 . Category summaries are paraphrased.

Use this matrix as your team's training plan

Make all 34 lessons mandatory for your team, then see who has finished each one.

Train my team on the OWASP Top 10 Free trial. Work email, no credit card.