OWASP Top 10 (2025) — Complete Guide for SMEs
The ten most critical web application security risks explained in plain language, with actionable remediation steps for small and medium businesses. No enterprise budget required.
What is the OWASP Top 10?
The Open Worldwide Application Security Project (OWASP) is a nonprofit foundation dedicated to improving software security. Their flagship publication, the OWASP Top 10, catalogs the ten most critical security risks facing web applications. First published in 2003, it has become the de facto standard for web application security awareness.
The 2025 edition is the current official list (owasp.org/Top10/2025). Compared with 2021, SSRF is now part of A01, Security Misconfiguration moves up to A02, Software Supply Chain Failures extends the former Vulnerable and Outdated Components, and Mishandling of Exceptional Conditions is a new category. For SMEs, these risks are not theoretical: they describe weaknesses that real applications exhibit.
A01: Broken Access Control
What it is: Access control enforces policies so users cannot act outside their intended permissions. When these controls fail, attackers can view other users' data, modify records, or escalate privileges to administrator level.
A generic example: a customer page whose identifier sits in the URL: changing the number shows another customer's record because the server never checks who is asking.
How to check: Test whether authenticated users can access resources belonging to other users by modifying URL parameters, API request bodies, or cookies. Verify that administrative functions are inaccessible to regular users.
How to fix: Implement server-side access control checks on every request. Use deny-by-default policies. Enforce record ownership at the database query level (e.g., always filter by authenticated user ID). Disable directory listing and ensure metadata files (.git, .env) are not accessible.
SSRF (folded into A01): OWASP 2025 maps Server-Side Request Forgery (CWE-918) to this category. It happens when the server fetches a URL supplied by a user without validating it, which can expose internal services or cloud metadata endpoints. Test every field that accepts a URL with internal addresses. Fix it with an allowlist of domains and protocols, blocking of private IP ranges and metadata endpoints, and validation of redirect targets.
A02: Security Misconfiguration
What it is: The most commonly observed issue in the wild. This includes default credentials, open cloud storage, unnecessary features enabled, incomplete setups, overly permissive CORS, missing security headers, and verbose error messages that expose stack traces.
A generic example: an administration console left reachable from the internet with its default password, or a storage bucket left public after a test.
How to check: Scan for missing security headers (X-Frame-Options, X-Content-Type-Options, Strict-Transport-Security, Content-Security-Policy, Permissions-Policy). Test for default credentials. Verify error pages do not leak stack traces or internal paths. Check that unnecessary HTTP methods (TRACE, OPTIONS) are disabled.
How to fix: Implement a hardening checklist for every deployment. Set comprehensive security headers. Disable directory listing, default accounts, and debug modes in production. Use infrastructure-as-code to enforce consistent configurations. Automate configuration audits with tools like WarDek.
A03: Software Supply Chain Failures
What it is: Successor of "Vulnerable and Outdated Components" (A06:2021), this category covers breakdowns or compromises in how software is built, distributed or updated: vulnerable or malicious third-party code, direct and transitive dependencies, build systems and CI/CD pipelines, developer tools, registries, and outdated or unmaintained software.
A generic example: Log4Shell (CVE-2021-44228) in the Log4j library and the backdoor in the XZ Utils archives (CVE-2024-3094) show how one vulnerable or compromised component reaches every application that uses it.
How to check: Maintain a software bill of materials (SBOM). Run dependency audits regularly (npm audit, pip-audit, Trivy). Monitor vulnerability databases (NVD, GitHub Advisory Database) for components in use. Verify that no end-of-life components are deployed.
How to fix: Automate dependency updates with tools like Dependabot or Renovate. Remove unused dependencies. Subscribe to security advisories for critical components. Pin exact dependency versions in production. Test updates in staging before deployment.
A04: Cryptographic Failures
What it is: Previously called "Sensitive Data Exposure," this category covers failures in cryptography that lead to exposure of sensitive data. This includes transmitting data in cleartext, using deprecated algorithms (MD5, SHA1 for passwords), weak key generation, and improper certificate validation.
A generic example: a site that still serves its login form over unencrypted HTTP, or stores passwords with a fast hash such as MD5, exposes credentials as soon as traffic or the database is read.
How to check: Verify that all data in transit uses TLS 1.2 or higher. Check that passwords are hashed with bcrypt, scrypt, or Argon2. Ensure no sensitive data is stored in cleartext in databases or logs. Scan for expired or self-signed certificates.
How to fix: Enforce HTTPS everywhere with HSTS headers (including subdomains). Use modern hashing algorithms for passwords. Encrypt sensitive data at rest using AES-256. Rotate encryption keys periodically. Never log sensitive data such as passwords, tokens, or credit card numbers.
A05: Injection
What it is: Injection flaws occur when untrusted data is sent to an interpreter as part of a command or query. SQL injection, NoSQL injection, OS command injection and LDAP injection are the most common variants. Cross-site scripting (XSS) is part of this category in the 2025 edition.
A generic example: SQL injection remains well documented: the 2023 MOVEit Transfer breach exploited a SQL injection flaw (CVE-2023-34362).
How to check: Test all user inputs (forms, URL parameters, headers, cookies) with injection payloads. Use automated scanners to detect reflected and stored XSS. Verify that API endpoints reject unexpected data types.
How to fix: Use parameterized queries or prepared statements exclusively — never concatenate user input into queries. Validate and sanitize all input server-side with strict schemas (Zod, Joi). Implement Content Security Policy (CSP) headers to mitigate XSS. Use ORMs with built-in parameterization (Prisma, Drizzle).
A06: Insecure Design
What it is: Insecure design refers to architecture and design flaws that implementation alone cannot fix. It includes the absence of threat modeling, insecure business logic and a lack of defense in depth.
A generic example: a password-reset flow with no limit on attempts lets a script try thousands of codes. No input validation would have caught it, because the design never planned for abuse.
How to check: Review application architecture for defense-in-depth. Verify that security requirements were defined before development. Check for rate limiting on critical functions (login, password reset, payment). Assess whether threat modeling was performed.
How to fix: Integrate security from the design phase. Perform threat modeling using STRIDE or PASTA methodologies. Define abuse cases alongside use cases. Implement rate limiting, circuit breakers, and transaction limits. Separate tenants and trust levels architecturally.
A07: Authentication Failures
What it is: Weaknesses in authentication mechanisms that allow attackers to compromise passwords, session tokens, or exploit implementation flaws to assume other users' identities. This includes credential stuffing, brute force attacks, weak password policies, and improper session management.
A generic example: a login endpoint with no attempt limit, hit with passwords leaked from other services (credential stuffing), gives access to accounts whose owners did nothing wrong.
How to check: Test for weak password policies (minimum length, complexity). Verify account lockout after failed attempts. Check that session tokens are invalidated on logout. Test for session fixation and insecure session storage. Verify multi-factor authentication is available.
How to fix: Implement multi-factor authentication (MFA). Use established authentication libraries (Better Auth, NextAuth, Auth0). Enforce strong password policies (minimum 12 characters). Rate limit login attempts. Invalidate sessions on password change. Store session tokens in HttpOnly, Secure cookies.
A08: Software and Data Integrity Failures
What it is: Code and infrastructure that do not protect against integrity violations: software updates applied without verification, unsigned artifacts, insecure deserialization of untrusted data. Compromised dependencies and build chains are now tracked under A03.
A generic example: a script loaded from a third-party CDN with no integrity check (SRI) runs whatever that CDN serves tomorrow, including a modified file.
How to check: Verify that software updates are delivered through signed channels. Check CI/CD pipelines for unsigned scripts or dependencies pulled without integrity verification. Audit Subresource Integrity (SRI) for externally loaded scripts and stylesheets.
How to fix: Verify digital signatures on all software updates. Implement Subresource Integrity (SRI) hashes for CDN-hosted assets. Secure CI/CD pipelines with signed commits and protected branches. Use lockfiles and verify checksums for dependencies. Avoid deserializing untrusted data.
A09: Security Logging and Alerting Failures
What it is: Insufficient logging, detection, monitoring, and active response. Without adequate logging, breaches cannot be detected, and without monitoring, logged events are never reviewed. Without adequate monitoring, a breach can go undetected for a long time.
A generic example: repeated failed logins on an administrator account raise no alert, so the intrusion is only discovered when a customer reports it.
How to check: Verify that login attempts (successful and failed) are logged. Check that access control failures generate alerts. Ensure logs are stored securely and cannot be tampered with. Verify that log data is retained for a sufficient period (minimum 90 days, preferably 12 months).
How to fix: Log all authentication events, access control failures, and server-side input validation failures. Use structured logging (JSON format) for machine-readable analysis. Implement alerting for suspicious patterns (multiple failed logins, privilege escalation attempts). Store logs centrally with tamper protection. Never log sensitive data (passwords, tokens, PII).
A10: Mishandling of Exceptional Conditions
What it is: Mishandling of Exceptional Conditions is a new category for 2025. It occurs when software fails to prevent, detect or properly respond to unusual or unpredictable situations: missing input validation, late or inconsistent error handling, unhandled exceptions, error messages that reveal internal details, or failing open instead of closed.
A generic example: an error page that prints a database error with table names, or a payment flow that fails halfway and leaves the order created but never rolled back.
How to check: Provoke errors on a test environment (missing parameter, malformed or oversized input, interrupted request) and check that the response is generic, without stack trace or internal path. Check that a global exception handler exists, that a failure denies access instead of granting it, and that multi-step operations are rolled back after a mid-process failure.
How to fix: Plan for failures: catch and handle exceptions where they occur, add a global handler as a safety net, return user-friendly messages without internal details, fail closed and roll back whole transactions, centralize error handling, log and alert on repeated error patterns, and apply rate limits and quotas to prevent resource exhaustion.
Why SMEs Are Especially Vulnerable
Small and medium enterprises face a disproportionate security challenge. While they hold valuable customer data and process financial transactions, they typically lack dedicated security teams.
The good news is that addressing the OWASP Top 10 eliminates the vast majority of attack surface. Most vulnerabilities in these categories can be detected automatically and fixed with configuration changes or minor code updates — no six-figure security budget required.
Getting Started with the OWASP Top 10
The most effective approach for SMEs is to start with automated scanning to identify the most critical issues, then prioritize fixes based on risk. Here is a practical three-step approach:
- Scan: Run an automated security scan to identify missing headers, TLS issues, vulnerable components, and common misconfigurations. This touches A02 (misconfiguration) and A03 (components whose version is visible from outside), and partly A04 (TLS) and A05 (injection tests on forms).
- Fix critical issues first: Address security headers, enable HTTPS with HSTS, update vulnerable dependencies, and review authentication configuration. These are typically configuration changes that take hours, not weeks.
- Build security into your process: Integrate automated scanning into your CI/CD pipeline, schedule regular dependency updates, and conduct quarterly security reviews. Prevention is always cheaper than remediation.
Source
Official list: OWASP Top 10:2025, https://owasp.org/Top10/2025/ (redirects to https://top10.owasp.org/2025/), consulted on 12 November 2026. CVE identifiers can be checked in the NVD (nvd.nist.gov).
Scan Your Site for OWASP Vulnerabilities
WarDek checks part of the OWASP Top 10 risks visible from the outside. Get a detailed report with prioritized remediation steps.