Skip to Content
Mengty Learns
Security

OWASP Top 10 (2025) Summary

Summary of the current OWASP Top 10:2025 web application security risks, what changed from 2021, and practical mitigations.

referencebeginnerUpdated Nov 26, 2026

TL;DR

The current edition is OWASP Top 10:2025. It keeps Broken Access Control at #1 (now including SSRF), promotes Security Misconfiguration to #2, expands dependency risk into Software Supply Chain Failures (#3), and adds Mishandling of Exceptional Conditions (#10).

Why it exists

Most web breaches come from a small set of recurring mistakes rather than exotic zero-days. The OWASP Top 10 gives engineering teams a shared, data-driven baseline for threat modeling, code reviews, and security checklists.

The OWASP Top 10:2025 list

RankCategoryWhat it covers & key mitigation
A01:2025Broken Access ControlEnforcing object- and function-level authorization on every request; now also absorbs SSRF (validate/allowlist outbound server requests). Deny by default on the server, never trust client-supplied IDs or roles.
A02:2025Security MisconfigurationDefault credentials, overly permissive CORS/cloud IAM, verbose stack traces, or unnecessary open ports. Harden defaults, automate config checks, and disable debug modes in production.
A03:2025Software Supply Chain FailuresExpands beyond outdated packages to cover compromised builds, CI/CD pipelines, lockfile tampering, and unpinned actions/images. Pin dependencies, verify lockfiles (--frozen-lockfile), and run automated audits.
A04:2025Cryptographic FailuresWeak ciphers, missing TLS, hardcoded keys, or unencrypted sensitive data at rest. Use TLS everywhere, modern AEAD ciphers, and dedicated secret managers.
A05:2025InjectionUntrusted input interpreted as SQL, OS commands, LDAP, or template expressions. Use parameterized queries, strict allowlists, and context-aware output encoding.
A06:2025Insecure DesignMissing security controls at the architecture stage (no rate limiting on password resets, missing abuse checks). Threat-model early before writing code.
A07:2025Authentication FailuresWeak password rules, credential stuffing, session fixation, or missing MFA. Use proven auth libraries, short-lived tokens, and rate limiting.
A08:2025Software or Data Integrity FailuresDeserializing untrusted data, auto-updating without signature checks, or trusting unverified CI artifacts. Verify signatures/checksums and avoid unsafe deserialization.
A09:2025Security Logging & Alerting FailuresMissing audit trails or unmonitored alerts when brute-force or privilege escalation occurs. Log auth/access events centrally without logging secrets, and wire alerts.
A10:2025Mishandling of Exceptional ConditionsFail-open error handlers, uncaught exceptions leaking state, or partial-failure bugs. Fail closed, return safe generic errors to clients, and test error paths.

Gotchas

  • Checking authorization only in the UI: Hiding a button in React does not protect an API route; enforce ownership and role checks on every backend handler.
  • Treating pnpm audit as the whole supply chain: A03:2025 covers build pipelines too — unpinned GitHub Actions, floating Docker tags (:latest), and missing lockfile enforcement are supply-chain risks.
  • Fail-open catch blocks: Returning true or skipping a check inside a catch block turns an unexpected error into an authentication or authorization bypass (A10:2025).

Production checklist

  • Every API endpoint checks authentication and resource ownership on the server (deny by default).
  • Outbound URLs fetched by the server are validated against an allowlist and blocked from internal metadata IPs.
  • Lockfiles (pnpm-lock.yaml), container base tags, and CI actions are pinned.
  • Database queries use parameterized bindings, and error handlers fail closed without stack traces.

Check yourself

Check Yourself

1. In OWASP Top 10:2025, which category now includes Server-Side Request Forgery (SSRF)?

2. A catch block logs an error and returns isAuthorized = true so users aren't blocked during a DB hiccup. Which OWASP Top 10:2025 risks does this violate?

Sources