Cloud & app security

OWASP API Security Top 10 (2023): All 10 Risks Explained

Three of the ten OWASP API risks are authorization failures, and the number-one risk is still broken object level authorization. Here is the full 2023 list, what each risk looks like, and how to fix it.

Cysoro Security TeamPublished · 9 min read
CLOUD & APP SECURITY OWASP API Security Top 10 2023 edition — all 10 risks, explained API1:2023 BOLA — #1 risk GET /orders/1002 3 of 10 are authorization API1–3 API4–10
Quick answer

The OWASP API Security Top 10 (2023) is OWASP's ranked list of the most critical security risks affecting APIs: broken object level authorization, broken authentication, broken object property level authorization, unrestricted resource consumption, broken function level authorization, unrestricted access to sensitive business flows, server-side request forgery, security misconfiguration, improper inventory management, and unsafe consumption of APIs. Authorization failures dominate the list, and the 2023 edition remains the current version as of November 2026.

Key takeaways

  • Broken object level authorization (BOLA) is the number-one API risk: an attacker changes an ID in a request and reads someone else's data.
  • Three of the ten risks are authorization failures — they can only be fixed in application code, not by a firewall alone.
  • The 2023 edition merged two 2019 risks into BOPLA and added SSRF, unsafe consumption of APIs and abuse of business flows.

APIs run the modern internet: every app, integration and partner connection talks through one. They are also the softest target in most organizations, because an API exposes your data directly — and three of the ten biggest API risks are the same failure: the API never checked whether the caller was allowed to do what they asked.

What is the OWASP API Security Top 10?

The OWASP API Security Top 10 is the Open Web Application Security Project's ranked list of the most critical security risks affecting APIs. The current edition was published in June 2023, replacing the 2019 list, and it remains the latest edition as of November 2026. OWASP calls it an awareness document: it ranks what goes wrong, based on analysis of real API incidents, so teams can prioritize fixes.

The list matters because APIs are not websites. A web app shows a user interface; an API exposes data and functions directly, and it is used by code, not people. That makes authorization mistakes far more dangerous: an attacker can enumerate IDs, automate abuse and pull large amounts of data with a script, while a human attacker on a website would be slowed by the interface.

IDRiskIn plain terms
API1:2023Broken Object Level Authorization (BOLA)Changing an ID in a request returns someone else's record
API2:2023Broken AuthenticationLogins, tokens or password resets can be guessed, forged or replayed
API3:2023Broken Object Property Level Authorization (BOPLA)Responses leak fields, or updates set fields the caller should not control
API4:2023Unrestricted Resource ConsumptionNo limits on rate, size or cost of requests
API5:2023Broken Function Level Authorization (BFLA)A regular user calls an admin-only function
API6:2023Unrestricted Access to Sensitive Business FlowsA legitimate flow can be automated and abused at scale
API7:2023Server-Side Request Forgery (SSRF)The API can be made to fetch a URL the attacker chooses
API8:2023Security MisconfigurationInsecure defaults, verbose errors, missing hardening
API9:2023Improper Inventory ManagementUnknown, outdated or undocumented APIs and versions
API10:2023Unsafe Consumption of APIsTrusting data from third-party APIs without validation

The pattern to notice first is that three of the ten — API1, API3 and API5 — are authorization failures. No gateway or firewall can fully fix them, because only the application knows who owns an object. That is the single most important lesson of the whole list.

API1, API3 and API5: the authorization failures

Authorization is the core problem in API security. Authentication asks "who are you?"; authorization asks "are you allowed to do this, to this object, right now?" APIs fail the second question far more often than the first.

BOLA in one pictureAttacker requests their own orderGET /api/orders/1001 → 200 OKAttacker changes one digitGET /api/orders/1002 → 200 OKThe API never checked who owns order 1002.Fix: check ownership on the server, on every request that carries an ID.Use random, non-sequential IDs such as UUIDs so IDs cannot be guessed.
Broken object level authorization: the classic IDOR attack. Illustration by Cysoro.

API1:2023 — Broken Object Level Authorization (BOLA)

BOLA is the top API risk, and it ranked first in 2019 as well. An endpoint exposes an object by its identifier but never checks that the caller owns it. An authenticated customer requests GET /api/orders/1001 and gets their invoice, then changes the number to 1002 and gets someone else's.

Prevent it by enforcing an object-level authorization check on every request that carries an ID, reading the owner from the stored record rather than from anything the client sent, and using random, non-sequential identifiers such as UUIDs so IDs cannot be guessed. Test it with two user accounts: if user A can read user B's object, the release should not ship.

API2:2023 — Broken Authentication

Broken authentication covers weak or flawed handling of credentials and tokens: endpoints that skip authentication, tokens that are not validated, weak password reset flows, and login APIs open to credential stuffing. The fix is to use standard protocols — OAuth 2.0 and OpenID Connect, defined in RFC 6749 — validate tokens strictly on the server, limit login attempts, and never roll your own authentication scheme.

API3:2023 — Broken Object Property Level Authorization (BOPLA)

BOPLA is new in 2023, merging two 2019 risks: excessive data exposure and mass assignment. It has two faces. The first is a response that includes fields the caller should not see, such as an admin flag or another user's email. The second is an update that sets fields the caller should not control, such as sending "role": "admin" in a profile update and becoming an administrator.

Fix it by returning only the properties each caller is allowed to see, and by allow-listing the properties each endpoint accepts — never binding request data directly onto internal objects.

API5:2023 — Broken Function Level Authorization (BFLA)

BFLA happens when a regular user calls an administrative function by guessing the path or method, such as DELETE /users/7 or an /admin/ route. Hiding admin endpoints from the interface is not a fix: attackers read API documentation, JavaScript bundles and traffic to find them.

Enforce authorization on the server for every function, not just at the route level, and deny by default: a function should refuse the call unless the caller's role explicitly allows it.

API4 and API6: abuse, limits and business flows

Some API risks are not about who can do something, but about how much of it they can do, and how fast. An API that works perfectly for one request can be a weapon when the same request is repeated ten thousand times.

API4:2023 — Unrestricted Resource Consumption

Unrestricted resource consumption means requests have no limit on rate, size or cost. Huge page sizes, GraphQL batching, unbounded file uploads, and endpoints that trigger a paid SMS or AI call per request all belong here. The fix is rate, size, timeout and spending limits at the gateway and in code, with smaller default page sizes and strict upload limits.

API6:2023 — Unrestricted Access to Sensitive Business Flows

API6 is new in 2023. It covers legitimate flows that can be automated and abused at scale: buying up limited stock, scraping prices, spamming password resets, or creating fake accounts in bulk. The flow works exactly as designed — the problem is that nothing stops one caller from running it ten thousand times.

Fix it by identifying your sensitive flows, then adding friction that humans barely notice and bots hate: rate limits per account and device, CAPTCHA or proof-of-work on sensitive actions, and anomaly detection on flow volume.

API7 to API10: SSRF, misconfiguration, inventory and trust

The last four risks are about the API's surroundings: what it can reach, how it is configured, whether anyone knows it exists, and how much it trusts other people's data.

API7:2023 — Server-Side Request Forgery (SSRF)

SSRF happens when an API can be made to fetch a URL the attacker chooses — for example, an endpoint that fetches a user's avatar from a supplied URL. The attacker points it at internal services, cloud metadata endpoints or other internal addresses, and the server's reply leaks the response.

Fix it by allow-listing the hosts and schemes an endpoint may fetch, blocking private and link-local address ranges, and validating and sanitizing any user-supplied URL before the server fetches it.

API8:2023 — Security Misconfiguration

Security misconfiguration covers insecure defaults, verbose error messages that leak stack traces and internal paths, missing security headers, and unnecessary features left enabled. The fix is boring and effective: harden defaults, return generic errors, strip debug information from production, and scan configurations in the deployment pipeline.

Our free security headers checker shows whether your own site's responses carry the headers that belong on a hardened deployment.

API9:2023 — Improper Inventory Management

Improper inventory management means unknown, outdated or undocumented APIs and versions — shadow APIs, forgotten test endpoints, and old versions kept running after the new one shipped. Attackers love these because nobody patches or monitors them.

Fix it with a complete, living inventory of every API and version, generated from traffic and code rather than from memory, and a rule that old versions are retired on a schedule. If you cannot list it, you cannot protect it.

API10:2023 — Unsafe Consumption of APIs

API10 is new in 2023 and includes injection risks from the 2019 list. It covers trusting data from third-party APIs more than you trust user input: a partner API's response is used without validation, a redirect is followed blindly, or a webhook payload is processed without checking its signature.

Fix it by validating third-party responses exactly as you would validate user input, enforcing TLS, and setting timeouts and redirect limits on outbound calls.

How did the 2023 list change from 2019?

The 2023 edition is the second OWASP API Security Top 10, and the changes reflect what actually went wrong between the two editions. Three categories are new, two were merged, and one risk kept its number-one spot.

Change20192023
MergedExcessive Data Exposure + Mass AssignmentAPI3:2023 BOPLA
New—API6:2023 Unrestricted Access to Sensitive Business Flows
New—API7:2023 Server-Side Request Forgery
New—API10:2023 Unsafe Consumption of APIs
Unchanged at #1API1:2019 BOLAAPI1:2023 BOLA
RenamedBroken User AuthenticationAPI2:2023 Broken Authentication

The direction of travel is clear: the 2019 list focused on the API itself, while the 2023 list adds the API's context — the business flows it serves, the internal network it can reach, and the third-party APIs it trusts. Security teams that only fixed the 2019 list are exposed to the new categories.

How do you test for the OWASP API Top 10?

Testing for the API Top 10 is mostly a matter of two accounts and a habit. The highest-value test in the whole list costs nothing: create two users, give them each other's IDs, and try to cross the line.

  1. Authorization tests first. With two accounts, try every object ID and every admin function as the wrong user. Automate these tests and block deployment when they fail.
  2. Authentication tests. Try missing, expired and tampered tokens, and brute-force the login and reset flows at low volume to check the limits.
  3. Property tests. Send extra fields in update requests, including role and ownership fields, and check whether they stick.
  4. Abuse tests. Hammer rate-limited endpoints, request huge pages, and run a sensitive flow repeatedly to see what stops you.
  5. Inventory audit. Compare the APIs you can find in traffic and code against the inventory you keep. Anything unlisted is a finding.
  6. Configuration scan. Check error responses, headers and defaults in a staging environment that matches production.
Test in this order — authorization first1Authorization — two accounts, cross every boundaryAPI1, API3, API5 — the three risks a gateway cannot fix2Authentication and abuse — tokens, limits, flowsAPI2, API4, API6 — what an attacker can do at scale3Surroundings — SSRF, config, inventory, third partiesAPI7, API8, API9, API10 — the risks around the APIAutomate the authorization tests in your deployment pipeline and block the release on failure.
Testing priority for the OWASP API Security Top 10. Illustration by Cysoro.

How do you fix the top risks?

Most fixes are small, and most belong in application code rather than in infrastructure. Work through this checklist in order, and do not skip the first item — it is the one that prevents the most common breaches.

  • Check ownership on every object access. Every endpoint that takes an ID must verify the caller owns that object, on the server, before returning or changing it.
  • Deny by default on functions. Every function must refuse the call unless the caller's role explicitly allows it.
  • Allow-list request and response properties. Accept only the fields an endpoint is meant to accept, and return only the fields the caller may see.
  • Use standard authentication. OAuth 2.0 and OpenID Connect, short-lived tokens, strict validation and attempt limits.
  • Limit everything. Rate, page size, upload size, timeouts and spending — with smaller defaults than you think you need.
  • Inventory everything. A living list of every API and version, and a retirement schedule for old ones.
  • Validate third-party data. Treat every response from another API as untrusted input.

For the organizational side — policies, access reviews and the wider checklist a small team needs — our small business cybersecurity checklist is a good companion to this list.

The bottom line

The OWASP API Security Top 10 2023 is a short list with a clear message: authorization is the problem. Three of the ten risks are authorization failures, and the number-one risk — broken object level authorization — has held the top spot since 2019 because teams keep shipping APIs that trust the ID in the request.

Start with two test accounts and the ownership check. Then work down the list: standard authentication, property allow-lists, limits on everything, a real inventory, and validation of every third-party response. You can check your own site's basic hardening in seconds with the free SSL checker.

Frequently asked questions

What is the OWASP API Security Top 10?

It is OWASP's ranked list of the ten most critical security risks affecting APIs, published as an awareness document. The current edition is from 2023, replacing the 2019 list. It ranks risks by prevalence and impact, based on OWASP's analysis of real API incidents.

Is the OWASP API Security Top 10 2023 still current?

Yes. As of November 2026, the 2023 edition is the latest OWASP API Security Top 10. OWASP has not published a newer edition. Teams should still use it as the baseline for API risk, while checking OWASP's project pages for any draft updates.

What is the number one API security risk?

Broken object level authorization (BOLA), API1:2023. It happens when an API exposes an object by its identifier but never checks that the caller owns it. An attacker changes an ID in a request — for example, from /api/orders/123 to /api/orders/124 — and reads or edits another user's data.

What is the difference between BOLA and BFLA?

BOLA is about objects: a user accesses a specific record that belongs to someone else. BFLA, broken function level authorization, is about functions: a regular user calls an administrative action, such as deleting a user or changing a role. Both are authorization failures, but they happen at different layers.

Can a web application firewall stop the OWASP API Top 10?

Only partly. A firewall or API gateway can enforce rate limits, block known bad patterns and hide error details, but it cannot know who owns a given record. Authorization checks must happen in the application, where the ownership data lives.

How is the OWASP API Top 10 different from the OWASP Top 10 for web apps?

The web application Top 10 covers browser-based apps and risks like cross-site scripting and injection in web pages. The API Security Top 10 covers risks specific to APIs: object and function level authorization, resource consumption, business-flow abuse and unsafe consumption of third-party APIs.

Do GraphQL and gRPC APIs have the same risks?

Yes, with different shapes. GraphQL's flexibility makes unrestricted resource consumption worse, because one query can ask for huge amounts of data, and its schema makes object-level authorization just as important. gRPC services face the same authorization and authentication risks behind a different transport.

How often should an API be tested against the OWASP API Top 10?

At least on every major release, and continuously for authorization: automated tests with two user accounts should run in the deployment pipeline and block a release when they fail. A full penetration test against the list is worth doing at least once a year, or after major changes.

Sources

  1. OWASP — API Security Top 10, 2023 Edition
  2. Palo Alto Networks — Demystifying API Security: A Review of the OWASP Top 10 Risks for 2023
  3. Orca Security — OWASP API Security Top 10 Guide for Cloud
  4. APIsecurity.io — OWASP API Security Top 10 Vulnerabilities: 2023
  5. IETF RFC 6749 — The OAuth 2.0 Authorization Framework
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against the OWASP API Security Top 10 2023 edition, Palo Alto Networks' and Orca Security's reviews of the 2023 list, and RFC 6749.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free