Software Development Framework · Voluntary guidance, not certifiable on its own

OWASP Top 10 2025: The Risks Explained for Developers and Teams

The OWASP Top 10 is the best-known list of critical web application security risks, published by the OWASP Foundation from data on millions of tested applications and a community survey. The 2025 edition, the eighth, ranks broken access control first and adds two categories: software supply chain failures and mishandling of exceptional conditions. It is an awareness document rather than a standard, but secure coding policies, PCI DSS assessments, penetration tests and customer contracts routinely use it as a baseline.

OWASP Top 10 compliance guide cover

The OWASP Top 10 is the list developers, testers and auditors reach for first when they talk about web application security. Published by the OWASP Foundation, it ranks the ten most critical categories of web application security risk, based on data from millions of tested applications and a survey of practitioners. The 2025 edition, released in November 2025, is the eighth.

It is not a law and not a certifiable standard. OWASP describes it as an awareness document. But it shows up everywhere compliance meets code: in secure coding policies, in PCI DSS requirement 6, in penetration test reports, in customer security questionnaires and in contracts that say an application must be "free of OWASP Top 10 vulnerabilities". This guide explains each 2025 category with practical prevention advice, what changed from 2021, and how to use the list properly alongside the OWASP ASVS.

What is the OWASP Top 10?

OWASP, the Open Worldwide Application Security Project, is a non-profit foundation that produces free application security resources. The Top 10 is its flagship document: a ranked list of categories of weaknesses, each mapped to entries in MITRE's Common Weakness Enumeration (CWE), with descriptions, example attack scenarios, prevention guidance and references.

The Top 10 is about categories, not individual bugs. "Injection", for example, includes SQL injection, OS command injection and cross-site scripting. Each category groups related CWEs, which is why the list is useful for awareness and reporting but too coarse to test against directly. For testable requirements, OWASP publishes the Application Security Verification Standard.

History and why it was created

The first OWASP Top 10 was published in 2003, and new editions followed in 2004, 2007, 2010, 2013, 2017, 2021 and 2025. Early editions were based mainly on expert opinion; later editions use data contributed by security vendors, consultancies and bug bounty platforms, plus a community survey to capture risks that testing data under-represents.

It was created because developers were repeating the same mistakes and had no simple, shared reference to learn from. A short ranked list was easy to teach, easy to put in a policy and easy to discuss with management. That simplicity is also why it became a de facto requirement in contracts, even though OWASP intended it to raise awareness rather than to serve as a compliance standard.

How the 2025 list was built

According to OWASP, contributors including Accenture, Bugcrowd, Veracode, Sonar and Semgrep, plus anonymous donors, supplied data covering more than 2.8 million applications. The data measured how many applications had at least one instance of each CWE, not how many instances. The dataset covered 589 CWEs; the ten categories contain 248 of them. Eight categories come from the data and two were promoted from the community survey: software supply chain failures and security logging and alerting failures. Exploit and impact scores were derived from CVE data mapped to CWEs.

Who should use the OWASP Top 10?

  • Developers building web applications and APIs in any language or framework.
  • Software companies and agencies that need a baseline for secure coding training and code review.
  • QA and security testers structuring test plans and reports.
  • Buyers of software writing security requirements into contracts and RFPs.
  • Compliance teams: PCI DSS requirement 6.2.4 expects software engineering techniques that prevent or mitigate common attacks, and assessors commonly use the OWASP Top 10 as a reference; ISO/IEC 27001 control 8.28 on secure coding is often implemented with it.

The list applies worldwide and to every industry. It has no legal force on its own.

The OWASP Top 10:2025 explained

A01:2025 Broken Access Control

Users can act outside their intended permissions: viewing another customer's records by changing an ID in the URL (insecure direct object references), calling admin APIs as a normal user, bypassing checks by modifying JWTs or cookies, or abusing CORS. In 2025, server-side request forgery (SSRF) was folded into this category. Prevent it by denying by default, enforcing authorisation on the server for every request (not just hiding buttons), checking record ownership in queries, using a central authorisation layer, rate-limiting APIs, logging access control failures, and blocking outbound requests to internal addresses where user input controls a URL.

A02:2025 Security Misconfiguration

Moved up from fifth. Default accounts, unnecessary features enabled, verbose error pages, missing security headers, open cloud storage buckets, debug mode in production, and XML parsers with external entities enabled. Prevent it with a repeatable hardening process, infrastructure as code reviewed like application code, minimal platforms, automated configuration scanning, and identical security settings across environments.

A03:2025 Software Supply Chain Failures

New in 2025, expanding the old "Vulnerable and Outdated Components". It covers compromised or vulnerable dependencies, malicious packages, weaknesses in build systems and CI/CD pipelines, and unverified updates. Prevent it with a software bill of materials (SBOM), dependency scanning and update policies, lock files, pinned versions with integrity checks, trusted registries, protected build pipelines with least privilege, signed artifacts and provenance as described in SLSA.

A04:2025 Cryptographic Failures

Sensitive data exposed through missing or weak cryptography: plain HTTP, outdated TLS, weak or unsalted password hashing, hard-coded keys, predictable random numbers, or sensitive data stored in clear text. Prevent it by classifying data, encrypting sensitive data in transit and at rest, using current TLS, hashing passwords with adaptive algorithms such as Argon2, scrypt or bcrypt, managing keys in a dedicated service, and not storing data you do not need.

A05:2025 Injection

Untrusted data sent to an interpreter as part of a command or query: SQL, NoSQL, OS commands, LDAP, template engines, and cross-site scripting in browsers. Prevent it with parameterised queries or safe ORM methods, avoiding dynamic command construction, server-side input validation with allow-lists, context-aware output encoding, Content Security Policy, and static analysis in the pipeline.

A06:2025 Insecure Design

Weaknesses in design rather than implementation: missing rate limits on sensitive flows, business logic that can be abused, trust boundaries in the wrong place. A perfect implementation of an insecure design is still insecure. Prevent it with threat modelling for new features, secure design patterns, abuse cases in requirements, and design reviews, supported by a process such as OWASP SAMM.

A07:2025 Authentication Failures

Renamed from "Identification and Authentication Failures". Credential stuffing, weak or default passwords, poor password recovery, session IDs in URLs, sessions that do not expire, and missing multi-factor authentication. Prevent it with MFA, checks against known breached passwords, rate limiting and lockout with care, secure session management with regeneration on login, and well-tested identity libraries or providers instead of custom code.

A08:2025 Software or Data Integrity Failures

Code and infrastructure that do not protect against integrity violations: insecure deserialisation, auto-updates without signature checks, loading scripts from untrusted CDNs without integrity checks, and data that crosses trust boundaries without verification. Prevent it with digital signatures, Subresource Integrity for third-party scripts, avoiding deserialisation of untrusted data, and review of pipeline and configuration changes.

A09:2025 Security Logging and Alerting Failures

Renamed to emphasise alerting. Attacks go unnoticed because logins, failures and high-value transactions are not logged, logs are not monitored, or alerts never reach anyone. Prevent it by logging authentication, access control failures and server-side validation failures with enough context, protecting logs from tampering and injection, sending them to a central platform, alerting on suspicious patterns, and having an incident response plan. Regulations such as India's CERT-In Directions add their own log retention requirements.

A10:2025 Mishandling of Exceptional Conditions

New in 2025. Applications that handle errors and unusual conditions badly: failing open when a dependency is down, leaking stack traces and internal details, inconsistent states after partial failures, logic errors in edge cases, and resource exhaustion. Prevent it by failing closed for security decisions, handling exceptions centrally, returning generic error messages to users while logging details internally, using transactions to keep data consistent, setting timeouts and limits, and testing failure paths deliberately.

What changed from the 2021 edition

2025Change from 2021
A01 Broken Access ControlStill first; now includes SSRF (previously A10:2021)
A02 Security MisconfigurationUp from A05
A03 Software Supply Chain FailuresNew; broadens A06:2021 Vulnerable and Outdated Components
A04 Cryptographic FailuresDown from A02
A05 InjectionDown from A03
A06 Insecure DesignDown from A04
A07 Authentication FailuresSame position; renamed
A08 Software or Data Integrity FailuresSame position
A09 Security Logging and Alerting FailuresSame position; renamed from Logging and Monitoring
A10 Mishandling of Exceptional ConditionsNew

If your policies, training or contracts reference the 2021 edition, update them. Mapping is straightforward, but the two new categories need new tests and training.

How to apply the OWASP Top 10 step by step

  1. Adopt it in policy: your secure development policy should name the current edition as the minimum set of risks every application must address.
  2. Train developers at least annually, with examples in your own languages and frameworks.
  3. Threat model new features against the categories, especially access control and insecure design.
  4. Add automated checks: static analysis, dependency and container scanning, secrets scanning and infrastructure-as-code checks in the CI pipeline.
  5. Use code review checklists based on the categories for changes touching authentication, authorisation, data access and error handling.
  6. Test dynamically: dynamic scanning in staging and periodic penetration testing that reports findings by category.
  7. Verify with ASVS: choose an ASVS level and turn its requirements into acceptance criteria.
  8. Track and fix findings with severity-based timelines, and measure recurrence by category.

Documentation you will need

The Top 10 itself requires no documents. When it is referenced by a policy, contract or standard, auditors and customers typically ask for:

  • A secure development policy that references the current edition.
  • Developer training records.
  • Code review guidelines or checklists.
  • Threat models for significant features.
  • Static and dynamic scan results and penetration test reports, with remediation evidence.
  • Dependency inventory or SBOM and patch records.

Audits, testing and "OWASP compliance"

There is no OWASP certification, and OWASP does not endorse vendors or products. Claims that an application is "OWASP compliant" usually mean that a penetration test or scan found no issues in the Top 10 categories at a point in time. That is useful evidence but not a guarantee. When a customer asks for OWASP Top 10 compliance, offer a recent penetration test report organised by category, your secure development process, and ideally verification against an ASVS level, which gives a defined, testable scope.

Timeline and cost considerations

Adopting the Top 10 as a baseline is quick; reaching a state where your applications are consistently free of these weaknesses is a continuing practice. Cost drivers are developer training time, scanning tools, penetration tests, remediation effort, and the age and size of the codebase. Older applications built without central authorisation or parameterised queries often need structural changes, which take longer than fixing individual findings.

Benefits and the risk of ignoring it

Using the Top 10 gives teams a shared language, helps prioritise the risks most often exploited, makes security testing more consistent, and answers many customer questions. It also supports compliance with PCI DSS requirement 6, ISO/IEC 27001 secure coding controls and the secure development expectations in the NIST SSDF and the EU Cyber Resilience Act.

Ignoring it has no legal penalty by itself, but the weaknesses it lists are behind many data breaches, and a breach caused by a well-known weakness is hard to defend to customers, regulators and courts as reasonable security.

Common mistakes and challenges for IT companies

  • Treating it as a complete standard. It covers ten categories; use ASVS for full requirements.
  • Front-end only access control. Hiding a button is not authorisation.
  • Relying on a WAF to fix code. A firewall reduces exposure but does not remove the weakness.
  • Old policy references. Contracts and policies still naming the 2017 or 2021 editions.
  • Dependency updates without ownership. Supply chain risk needs someone responsible for updates and alerts.
  • Verbose errors in production. Stack traces and SQL errors help attackers and fall under A02 and A10.
  • Logging without alerting. Logs nobody reads do not detect attacks.

Best practices, tools and technologies

  • Use framework features that are secure by default: ORM query builders, templating with auto-escaping, CSRF protection and built-in authentication.
  • Centralise authorisation in policies or middleware and test it with automated tests for each role.
  • Run static analysis (SAST), software composition analysis (SCA), secrets scanning and dynamic testing (DAST) in CI.
  • Set security headers, a Content Security Policy and Subresource Integrity for third-party scripts.
  • Use the OWASP Cheat Sheet Series for language- and topic-specific guidance.
  • Generate an SBOM for every release and monitor it for new vulnerabilities.

Our developers apply these practices in web application and API projects and fix findings from client penetration tests.

How the OWASP Top 10 relates to other frameworks

FrameworkRelationship
OWASP ASVSDetailed, testable requirements in three levels. Use it to verify what the Top 10 raises awareness of.
OWASP SAMMA maturity model for the development process that prevents these risks.
PCI DSSRequirement 6 expects protection against common software attacks; the Top 10 is a common reference.
NIST SSDFSecure development practices expected of US government software suppliers.
ISO/IEC 27001Annex A controls 8.25 to 8.29 on secure development are often implemented with OWASP resources.
EU Cyber Resilience ActLegal requirement for products to be delivered without known exploitable vulnerabilities, among others.

Real-world implementation examples

Many major breaches map to Top 10 categories: unpatched framework components (now part of supply chain failures), injection in web forms, misconfigured cloud storage exposing data, and broken access control in APIs that let attackers enumerate other users' records by changing an identifier. Public bug bounty reports regularly show broken access control as one of the most common and valuable findings, which is consistent with its first place.

An illustrative case for a Laravel SaaS application: a penetration test finds that an API endpoint returns invoices for any ID, regardless of tenant. The fix is not a single patch but a change in pattern: a global tenant scope on queries, policy classes for every resource, and automated tests that try to access another tenant's data for each endpoint. Re-testing finds no further access control issues, and the pattern becomes part of the code review checklist.

Next steps

  1. Update policies, training and contracts to the 2025 edition.
  2. Add the two new categories to your test plans and checklists.
  3. Choose an ASVS level for each application and turn it into acceptance criteria.
  4. Automate scanning in CI and schedule penetration tests.
  5. Fix structural weaknesses, starting with access control.

Frequently asked questions

What is the latest OWASP Top 10?

The OWASP Top 10:2025, the eighth edition, released in November 2025. It replaced the 2021 edition.

Is the OWASP Top 10 a compliance standard?

No. OWASP describes it as an awareness document. It becomes a requirement only when a contract, policy or other standard references it. For testable requirements, use the OWASP ASVS.

What is number one in the OWASP Top 10 2025?

Broken Access Control, which remained in first place and now also includes server-side request forgery.

What are the new categories in 2025?

A03 Software Supply Chain Failures, which broadens the old vulnerable components category, and A10 Mishandling of Exceptional Conditions.

Can an application be OWASP certified?

No. OWASP does not certify applications or vendors. You can show evidence through penetration tests, scans and verification against ASVS.

Does PCI DSS require the OWASP Top 10?

PCI DSS requires software engineering techniques to prevent or mitigate common software attacks and references industry standards and best practices. The OWASP Top 10 is the most commonly used reference, but PCI DSS does not mandate it by name as the only option.

Is there an OWASP Top 10 for APIs?

Yes. OWASP publishes a separate API Security Top 10, which is useful for API-first products alongside the main list.

How often is the OWASP Top 10 updated?

Roughly every three to four years. Recent editions were 2017, 2021 and 2025.

Does a web application firewall protect against the OWASP Top 10?

A WAF can block some attacks, especially injection, but it cannot fix access control, design or business logic weaknesses. Fix the code and use a WAF as an additional layer.

Is cross-site scripting still in the Top 10?

Yes, as part of the Injection category.

Who should be trained on the OWASP Top 10?

Every developer, tester and technical lead working on web applications or APIs, ideally with examples in the team's own frameworks, at least once a year.

How is the OWASP Top 10 different from the CWE Top 25?

The CWE Top 25 lists individual weaknesses ranked by data. The OWASP Top 10 groups weaknesses into broader risk categories for awareness and includes community input.

Official sources

  1. OWASP Top 10:2025 (OWASP Foundation)
  2. OWASP Top 10:2025 introduction and methodology (OWASP Foundation)
  3. OWASP Application Security Verification Standard (ASVS) (OWASP Foundation)
  4. OWASP Cheat Sheet Series (OWASP Foundation)
  5. CWE: Common Weakness Enumeration (MITRE)

Review history

Last reviewed Oct 30, 2026. Next scheduled review Oct 30, 2027, or sooner if OWASP publishes a new edition or revises the 2025 categories.

  • : First published, covering the OWASP Top 10:2025.

This guide explains the official requirements in plain language. It is not legal advice and does not tell you whether your organisation is compliant. Confirm with qualified counsel, your auditor or an accredited certification body.

Written by · Developers and project managers

Researched from the official sources listed above and written by WorldWin Coder's engineering team, who build the access controls, audit logging, encryption and privacy features that these rules ask for.

Related compliance
Framework Global

OWASP ASVS

OWASP Application Security Verification Standard, version 5.0

The OWASP Application Security Verification Standard is a detailed, testable list of security requirements for web applications and APIs. Version 5.0, released in May 2025, organises around 350 requirements into 17 chapters, from encoding and validation to authentication, authorisation, cryptography, logging and WebRTC, and three levels of assurance. Teams use it to define security requirements, design tests and agree contractual security expectations, going far beyond the awareness-level OWASP Top 10.

Read the guide
Framework Global

OWASP SAMM

OWASP Software Assurance Maturity Model, version 2

OWASP SAMM is an open framework for assessing and improving how an organisation builds secure software. It defines five business functions (Governance, Design, Implementation, Verification and Operations), each with three security practices, and maturity levels for each practice. Teams score their current state, choose targets that fit their risk, and build a roadmap. It complements requirement standards such as the OWASP ASVS and frameworks such as the NIST SSDF, and it is free to use.

Read the guide
Framework US origin, used globally

NIST SSDF (SP 800-218)

NIST Special Publication 800-218, Secure Software Development Framework (SSDF) Version 1.1

The NIST Secure Software Development Framework is a set of high-level practices for building secure software, organised in four groups: prepare the organisation, protect the software, produce well-secured software, and respond to vulnerabilities. It is technology-neutral and maps to other secure development models. US federal policy used it as the basis for supplier attestations until a January 2026 OMB memo made that agency-specific, but it remains the most common reference for secure development expectations.

Read the guide
Contractual standard Global

PCI DSS

Payment Card Industry Data Security Standard

PCI DSS is the security standard for payment card data, published by the PCI Security Standards Council and enforced by the card brands through their contracts with acquiring banks, merchants and service providers. Its 12 requirements cover networks, secure configuration, protection of stored card data, encryption in transit, vulnerability management, secure software, access control, logging, testing and policy. The current version is 4.0.1. Compliance is validated each year by a self-assessment questionnaire or an assessor's report.

Read the guide
Framework Global

SBOM requirements

Software Bill of Materials: minimum elements, formats and regulatory expectations

A software bill of materials is a machine-readable inventory of the components in a piece of software, including open-source and third-party libraries, with versions and relationships. It lets producers and customers find out quickly whether a newly disclosed vulnerability affects them. SBOMs are now required for products under the EU Cyber Resilience Act and for FDA cyber device submissions, recommended by CISA and CERT-In, and increasingly requested in enterprise and government contracts.

Read the guide
Law EU market

Cyber Resilience Act

Regulation (EU) 2024/2847 on horizontal cybersecurity requirements for products with digital elements (Cyber Resilience Act)

The Cyber Resilience Act is the EU law that makes cybersecurity a legal requirement for hardware and software products sold in the EU. Manufacturers must design products to essential security requirements, handle vulnerabilities throughout a support period, provide security updates, keep a software bill of materials, carry out conformity assessment and apply CE marking. From 11 September 2026 they must report actively exploited vulnerabilities and severe incidents within 24 hours, and most other duties apply from December 2027.

Read the guide
Compliance-ready software

Need the Top 10 fixed in your application?

Our developers fix the issues penetration tests find: broken access checks, injection, weak authentication, outdated dependencies, missing logging and unsafe error handling. Tell us about your application and get a free quote within one business day.

  • Free consultation and quote
  • NDA on request
  • You own the source code
  • Reply within one business day

Tell us about your product

Add budget and timeline optional, helps us quote faster

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.