OWASP Top 10 2025 explained with examples | Intway

Web application security: the OWASP Top 10 explained with examples

OWASP Top 10 table with each 2025 category and its 2021 position

The OWASP Top 10 is the reference list of the most critical risks in web applications. It is published by OWASP, an open foundation, and the current edition is 2025. It isn't a ranking of what happens most or a checklist to tick: it's ten categories OWASP chooses by combining data from real testing with a community survey. It gives a system's owner, its team and whoever audits it a shared language. Here is the OWASP Top 10 explained: each category with an example from a business system, how to tell whether your system has it and how to prevent it.

What changed from the 2021 to the 2025 Top 10

OWASP counts two new categories: software supply chain failures (A03), which expands vulnerable components to cover how software is built and distributed, and mishandling of exceptional conditions (A10); misconfiguration rises from fifth to second place; and requests the server makes to addresses an attacker picks (SSRF) move into access control. Here's where each one landed:

2025 Category In 2021
A01 Broken Access Control A01 (plus SSRF, which was A10)
A02 Security Misconfiguration A05
A03 Software Supply Chain Failures A06, expanded
A04 Cryptographic Failures A02
A05 Injection A03
A06 Insecure Design A04
A07 Authentication Failures A07 (was “Identification and Authentication Failures”)
A08 Software or Data Integrity Failures A08
A09 Security Logging and Alerting Failures A09 (was “Security Logging and Monitoring Failures”)
A10 Mishandling of Exceptional Conditions new

The ten categories, with an example each

A01 · Broken Access Control

A customer logs into the portal, opens their invoice at /facturas/4812, changes the number to 4813 and sees another company's invoice. The system checked that they were logged in, but not that the invoice was theirs.

How to tell: Ask the team for a test with two fictitious accounts in staging: one tries to open or change an invoice, an order or a user belonging to the other.

Prevention: On every request that reads or changes a record, check on the server that the user has permission over that record, never by hiding a button, and add automated tests that try exactly this.

OWASP Top 10, A01 broken access control: a customer sees another customer's invoice by changing a number in the URL
Changing a number in the URL shouldn't show someone else's dataExample: with the same session, invoice 4812 is theirs and 4813 belongs to another customer; the server should answer “forbidden”.

A02 · Security Misconfiguration

The admin panel was left open to the internet with the test user, or the server answers without security headers (instructions the server sends the browser, such as not letting another site embed it).

How to tell: Look for admin panels, test environments or demo users reachable from outside, and ask the team to check which security headers the application needs and whether they are active in every environment.

Prevention: The fix is a reviewed, common security baseline for every environment, different credentials for development, staging and production, and nothing open that isn't needed.

A03 · Software Supply Chain Failures

The system uses a PDF library with a known vulnerability, or the process that publishes the software pulls components without checking where they come from.

How to tell: Ask for the component inventory with versions, including indirect ones, and how vulnerable ones get updated.

Prevention: Keep an inventory of components and their versions, including those pulled in by another dependency, have a process to update or replace vulnerable ones by risk, and get components from verified sources over secure connections, checking the signature when there is one.

A04 · Cryptographic Failures

Passwords are stored with a fast hash (a hash is a fingerprint of the password that can't be reversed; a fast one can be guessed by trying millions per second), or ID numbers travel and are stored unencrypted.

How to tell: Ask how passwords are stored and which sensitive data is encrypted.

Prevention: Encrypt sensitive data in transit and at rest, and store passwords with Argon2id first (scrypt if it isn't available; bcrypt only in systems that already use it), with a salt, a random value different for each password, and the cost OWASP recommends.

A05 · Injection

The customer search builds the database query by pasting in what the user types, and someone types a piece of SQL.

How to tell: Ask whether queries are built by pasting text or with parameters.

Prevention: Use parameterized queries (the query is built in advance and what the user types goes in only as data, never as part of the command) and validate everything that comes in on the server.

A06 · Insecure Design

The returns process lets someone request the refund twice because nobody thought of that case. It isn't a code bug but a design flaw.

How to tell: Think about what would happen if someone repeated, skipped or reordered the steps of a process involving money.

Prevention: Turn each possible abuse into a design rule, such as a single refund per transaction, and add a test that confirms it holds against repeated requests.

A07 · Authentication Failures

Login has no attempt limit and someone tries thousands of passwords, or the session stays alive after logging out.

How to tell: Ask the team for evidence, using fictitious accounts, that repeated attempts are slowed down and trigger an alert, and that the server invalidates the session on logout.

Prevention: Defend against it with attempt limits that don't end up locking other people out, rejection of leaked passwords, sessions the server invalidates on logout that also expire after inactivity and a maximum duration, and a second factor for everyone, mandatory for admins.

A08 · Software or Data Integrity Failures

The app updates itself from a server without checking the package signature, or the system accepts serialized data from outside (packaged data the system turns back into objects) without checking it.

How to tell: Ask how what gets installed is verified and which outside data is accepted as is.

Prevention: Sign and verify updates, and take outside data as simple data in a known format, such as JSON, validating its structure and never rebuilding objects from untrusted input.

A09 · Security Logging and Alerting Failures

Someone spends a week trying to get into other people's accounts and nobody notices, because it isn't logged or nobody watches the alerts.

How to tell: Ask who finds out, and how quickly, if someone tries to get into an account a thousand times.

Prevention: Log successful and failed logins, permission changes and access to sensitive data, without storing passwords, with alerts on suspicious patterns that someone responds to.

A10 · Mishandling of Exceptional Conditions

When the database fails, the page shows the full error with the query and the server name, or a payment is left half done because the system didn't know what to do with an error.

How to tell: Ask the team to check in staging, with a customer role, what the error response reveals and what state a payment is left in when it fails halfway.

Prevention: Show generic messages to the user, keep the details in the internal log and make processes return to a safe state when something fails.

OWASP Top 10, A10 mishandling of exceptional conditions: an error page showing the database query, its fixed version and the internal log
The error goes to the log, not to the screenExample: before, the page showed the query and the server; after, a simple message with a code the team finds in its internal log.

How to use the Top 10 in your company

  • As a shared language, so a finding can say “A01” and everyone knows what it means.
  • Not as a checklist: to verify requirement by requirement there is ASVS (Application Security Verification Standard), OWASP's standard of requirements for verifying an application's security.
  • To prioritize: if the system has never been reviewed, start with access control, dependencies and configuration.
  • On every change: automatic checks catch part of these flaws, such as vulnerable dependencies or secrets in the code; permission and design flaws need their own tests and a human review.

How we run an audit with these guides, what you get and when it's mandatory is in application security and OWASP audits. If the system is still being built, these rules belong from the start, as we explain in Next.js and NestJS development, and if your company is a financial institution in Argentina, see also BCRA requirements for outsourcing software development.

share

Frequently asked questions

What is the OWASP Top 10?

It's the reference list of the most critical risks in web applications, published by OWASP, an open foundation. The current edition is 2025 and it has ten categories, from broken access control to mishandling of exceptional conditions.

What changed in the OWASP Top 10 2025?

OWASP counts two new categories: software supply chain failures (A03), which expands vulnerable components to cover how software is built and distributed, and mishandling of exceptional conditions (A10); misconfiguration rose to second place and SSRF moved into access control.

What is the first risk in the OWASP Top 10?

Broken access control (A01): for example, a user seeing or changing another user's data by changing a number in the URL or calling the API directly.

Is complying with the OWASP Top 10 enough?

No. It's a list of risks for a shared language, not a list of requirements. To verify an application requirement by requirement you use ASVS (Application Security Verification Standard), OWASP's standard of security requirements.