On this page
We hear it on scoping calls all the time: “We’re covered on the OWASP Top 10. The scanner came back clean.”
Then, early in the test, an ordinary user account changes one ID in a request and opens another customer’s invoice. No scanner flagged it, because the response looked perfectly normal. That flaw is number one on the list the team thought they had covered.
The OWASP Top 10 is the most quoted list in application security, and one of the most misread. It is not a checklist you pass, and OWASP itself discourages claims of full coverage. This guide explains each 2025 risk in plain words: what it looks like in a real app, what we find in penetration testing, and the fix to ask your developers for.
Key takeaways
- The OWASP Top 10:2025 is an awareness list built from data on more than 2.8 million applications, not a testing standard. For testable requirements, use OWASP ASVS.
- Broken access control is still number one, and it is one of the hardest risks for scanners to find.
- New in 2025: software supply chain failures and mishandling of exceptional conditions. SSRF now sits inside broken access control.
What is the OWASP Top 10?
The OWASP Top 10 is a ranked list of the most critical security risks to web applications, published by the non-profit Open Worldwide Application Security Project (OWASP). The current version, the OWASP Top 10:2025, is the eighth edition and the first update since 2021. It was announced in November 2025.
According to the OWASP Top 10:2025 introduction, contributors supplied testing data for more than 2.8 million applications. OWASP analysed 589 CWEs (weakness types from MITRE’s Common Weakness Enumeration) and grouped 248 of them into ten categories. Eight categories come from the data and two from a community survey, to capture risks that testing data does not show yet. Each entry is a category of weaknesses, not a single bug.
OWASP calls the list an awareness document and a starting place. When you need requirements you can test and sign off, it points to the Application Security Verification Standard (ASVS), currently version 5.0.0, published in May 2025.
The OWASP Top 10:2025 at a glance
| Rank | Category | Change from 2021 | Usually found by |
|---|---|---|---|
| A01 | Broken Access Control | Still #1, now includes SSRF | Manual testing |
| A02 | Security Misconfiguration | Up from #5 | Scanners, config review |
| A03 | Software Supply Chain Failures | New, expands “vulnerable and outdated components” | Dependency scanning, pipeline review |
| A04 | Cryptographic Failures | Down from #2 | Scanners (TLS), code review |
| A05 | Injection | Down from #3 | Scanners plus manual testing |
| A06 | Insecure Design | Down from #4 | Threat modelling, manual testing |
| A07 | Authentication Failures | Same rank, renamed | Manual testing |
| A08 | Software or Data Integrity Failures | Same rank, slight rename | Code and pipeline review |
| A09 | Security Logging and Alerting Failures | Same rank, renamed | Detection testing |
| A10 | Mishandling of Exceptional Conditions | New | Manual testing, code review |
1. Broken access control (A01)
What it means: a user can see or do something their role should not allow: another customer’s records, an admin function, another tenant’s data.
OWASP found some form of broken access control in 100% of the applications tested for the 2025 edition. Server-side request forgery (SSRF), where the server is tricked into fetching internal resources, now belongs here too.
What we see in pentests: an API that checks you are logged in but not that the order belongs to you. An admin page hidden only by the menu. A read-only role that can still call the delete endpoint.
The fix: deny by default, check ownership on the server for every object and action, keep authorization logic in one shared place and test each role automatically. Our guide to broken access control goes deeper.
2. Security misconfiguration (A02)
What it means: the code may be fine, but the setup is not. Default passwords, debug mode in production, verbose errors, open cloud storage, missing security headers.
It jumped from fifth to second, and OWASP reports that 100% of applications tested had some form of misconfiguration.
What we see in pentests: staging servers with debug consoles open to the internet and stack traces revealing framework versions, often on a subdomain nobody remembers. That is why attack surface discovery comes before testing.
The fix: an automated hardening process for every environment, minimal installs, generic error pages and checks that catch configuration drift.
3. Software supply chain failures (A03)
What it means: you are exposed through code you did not write: libraries, packages, build tools, CI/CD pipelines, container images and vendor updates.
This category expands the old “vulnerable and outdated components”. It ranked first in OWASP’s community survey, with 50% of respondents putting it at number one.
What we see in pentests: libraries several major versions behind with public CVEs, no reliable list of what is deployed, and build tokens with far more access than they need.
The fix: keep a software bill of materials (SBOM), monitor dependencies against CVE sources, remove unused packages, sign builds, protect CI/CD with MFA and least privilege, and roll out updates in stages.
4. Cryptographic failures (A04)
What it means: sensitive data is poorly protected in transit or at rest. Pages without HTTPS, old TLS, passwords stored with fast or unsalted hashes, hard-coded keys, weak randomness.
What we see in pentests: reset tokens built from predictable values, sensitive responses cached by the browser and secret keys shipped inside JavaScript bundles or mobile apps.
The fix: classify your data, use TLS 1.2 or newer with HSTS, hash passwords with a slow, salted algorithm such as Argon2, scrypt or PBKDF2, keep keys in a key management service and retire MD5 and SHA-1. The A04 guidance also asks you to plan for post-quantum cryptography, with high-risk systems safe no later than the end of 2030.
5. Injection (A05)
What it means: untrusted input is treated as part of a command or query. SQL injection, cross-site scripting (XSS), OS command injection and template injection live here.
It fell to fifth, yet it still has the most CVEs of any category: over 30,000 for XSS and over 14,000 for SQL injection, per OWASP’s A05 data. In March 2024, CISA and the FBI issued a Secure by Design alert urging software makers to eliminate SQL injection as a class of defect.
What we see in pentests: frameworks block the obvious cases, so injection hides in report builders, search filters and legacy endpoints. Our January 2026 Xpose covers an unauthenticated code injection flaw in an internet-facing product.
The fix: parameterized queries or a safe ORM, context-aware output encoding against XSS, allow-list validation and no user input in shell commands. If you ship AI features, prompt injection is a related risk with its own OWASP list for LLM applications.
6. Insecure design (A06)
What it means: the flaw lives in the design, not the code. A perfect implementation of a bad design is still vulnerable, because the control was never planned.
What we see in pentests: business logic flaws. Discount codes that stack, refunds larger than the original payment, approval steps skipped by calling the final step directly, sign-up flows with no limits.
The fix: threat-model critical flows (login, payments, permissions) before building them, write misuse cases next to use cases, and enforce limits and plausibility checks on the server.
7. Authentication failures (A07)
What it means: an attacker can sign in as someone else. Credential stuffing with breached passwords, password spraying, missing MFA, weak reset flows, sessions that survive logout.
What we see in pentests: rate limiting on the web login but not the mobile API login, error messages that reveal which emails have accounts, and reset links that never expire.
The fix: MFA, blocking known-breached passwords, identical errors for login and recovery, throttling on every login path, a new session ID after login and server-side logout. Staff passwords are often already circulating, as our post on employee passwords on the dark web explains.
8. Software or data integrity failures (A08)
What it means: the app trusts code or data without checking it has not been tampered with. Insecure deserialization, unsigned updates, unverified build artifacts, third-party scripts you do not control.
A03 is the whole supply chain. A08 is the specific integrity check missing on an artifact, an update or a piece of data.
What we see in pentests: serialized state sent to the browser and accepted back without a signature, and third-party scripts loaded without integrity checks.
The fix: verify signatures, use Subresource Integrity for third-party scripts, never deserialize untrusted data without an integrity check, and lock down CI/CD.
9. Security logging and alerting failures (A09)
What it means: an attack happens and nobody notices. Logs are missing, never reviewed or never trigger an alert.
The 2025 name swaps “monitoring” for “alerting” for a reason: logs nobody watches stop nothing.
What we see in pentests: after an authorised test, we ask whether anyone noticed us. Often nobody did, despite thousands of failed logins and access-denied errors.
The fix: log logins, failures, access denials and admin changes with user context, protect logs from tampering and alert on patterns. Honeytokens help: decoy credentials that should never be used, so any use is a high-confidence alert.
10. Mishandling of exceptional conditions (A10)
What it means: the app behaves unsafely when something goes wrong. It fails open, shows stack traces, leaves transactions half finished or never releases resources.
What we see in pentests: an authorization check times out and the request goes through anyway. A payment fails halfway and the order stays marked as paid. Two transfers sent at the same moment both succeed.
The fix: fail closed, catch errors where they happen, roll back whole transactions, return generic error messages and add rate limits. Test the unhappy paths on purpose.
How to use the OWASP Top 10 without fooling yourself
Use the list as a map, not a certificate:
- Treat “OWASP Top 10 compliant” as a warning sign. No single tool covers all ten. Ask any vendor how each category was tested, and by whom.
- Use the right list for what you build. For APIs, the OWASP API Security Top 10 (2023) puts broken object level authorization first. Mobile apps have MASVS and MASTG.
- Use ASVS for requirements. The Top 10 says what to worry about. ASVS says what “done” looks like.
- Split the work. Automation handles much of A02, A04 and A05, and the dependency side of A03. A01, A06, A07 and A10 need a tester with real accounts. See penetration testing vs vulnerability scanning.
- Test every role and tenant. That needs test accounts per role, which is why grey-box penetration testing suits most SaaS apps and APIs.
- Score, fix, retest. Give every finding a CVSS 3.1 score, an owner and a retest date. For a full test plan, use our web application penetration testing checklist.
How WhyXpose helps: AI-powered pentesting across the OWASP Top 10
WhyXpose is an AI-powered pentesting platform and AI-based vulnerability scanner, with human experts verifying what it finds. Our web application penetration testing and API penetration testing align with the OWASP Top 10, the API Security Top 10 and the OWASP WSTG.
- AI-guided recon and scanning. AI agents plan and run recon and scan pipelines and choose next steps, so forgotten hosts, misconfigurations and outdated components surface early.
- AI triage. AI filters out false positives and ranks findings by risk before experts verify them.
- Human depth where automation stops. Certified penetration testers and CVE holders test access control between roles and tenants, business logic, authentication and error handling.
- Proof, not noise. Every finding has a reproducible proof of concept, a CVSS 3.1 score and an AI-drafted fix reviewed by experts.
- Tracked to the fix. Findings live in our vulnerability management platform, with retests and one-click PDF reports. See a sample pentest report (PDF).
WhyXpose is verified under the Cyber Verification Programs for Anthropic Claude and OpenAI Codex, and also runs self-hosted open-source AI models. More than 1,000 companies have been secured to date. Our research team monitors the internet for new vulnerabilities and exposures every single day and reports them privately through responsible disclosure. Scheduled scans and monitoring in the platform are coming soon.
Frequently asked questions
What are the OWASP Top 10 vulnerabilities in 2025?
Broken Access Control, Security Misconfiguration, Software Supply Chain Failures, Cryptographic Failures, Injection, Insecure Design, Authentication Failures, Software or Data Integrity Failures, Security Logging and Alerting Failures, and Mishandling of Exceptional Conditions. Supply chain failures and exceptional conditions are new.
What is the number one OWASP Top 10 risk?
Broken access control, which has held the top spot since 2021. OWASP found some form of it in every application tested for the 2025 list. Scanners struggle with it because they cannot know which user should see which data.
Is the OWASP Top 10 a compliance requirement?
Not by itself. OWASP calls it an awareness document and recommends ASVS when you need a verifiable standard. Customers and security questionnaires often ask whether testing covered it, so check the exact wording your framework or contract uses.
Can a vulnerability scanner find all OWASP Top 10 risks?
No. Scanners are good at misconfigurations, outdated components and many injection flaws. Access control, business logic and authentication flows need a human who knows how your app should behave.
How often is the OWASP Top 10 updated?
Recent editions came out in 2017, 2021 and 2025, roughly every four years. Your application changes far faster, so test after major releases, not on the list’s cycle.
Want to know which of the ten your app actually has? Get a demo of WhyXpose, or talk to a pentester about testing your web app and API against the OWASP Top 10.
Put this guide into practice
Web, API, mobile and network pentests by certified testers, with a verified proof of concept for every finding.
Explore pentest services