Guide

OWASP API Security Top 10 (2023), explained for founders

The ten API risks OWASP ranks highest, what each one looks like in a real product, and how testers find them.

Illustration: OWASP API Security Top 10 (2023), explained for founders

The OWASP API Security Top 10 is a list of the ten most important security risks for APIs, published by the Open Worldwide Application Security Project. The current edition is from 2023. Auditors, customers and pentest reports refer to it constantly, often by number: "API1", "API3".

This guide explains each of the ten in plain words, gives a real or typical example, and says what an API penetration test does to check for it. It is written for founders and engineering leads, not security specialists.

Source: OWASP API Security Top 10, 2023 edition

Why APIs get their own list

Modern apps are mostly APIs. The web front end, the mobile app, partner integrations and internal tools all call the same endpoints. An API exposes your data model directly, and every endpoint that takes an id has to decide who may see that object. That is where most serious API bugs live. The first, third and fifth items on the list are all about authorization.

API1: Broken Object Level Authorization

The API checks that you are logged in but not that the object you asked for is yours. Change /invoices/1001 to /invoices/1002 and you see someone else's invoice. This bug is also called IDOR.

Real example. In 2019, First American Financial exposed about 885 million records because document links used sequential numbers and required no authentication; changing one digit showed another customer's documents.

Source: KrebsOnSecurity, May 2019

How testers check. With two accounts, replay every request that contains an id using the other account's session. We go deeper in IDOR is still the #1 API bug.

API2: Broken Authentication

Weak login, token or session handling: no rate limit on login, tokens that never expire, password reset flows that can be abused, API keys accepted from anyone.

How testers check. Try credential stuffing limits, token reuse after logout, reset-link reuse, JWT signature handling and missing authentication on secondary endpoints.

API3: Broken Object Property Level Authorization

You may see or change the object, but not every field of it. The API returns fields it should hide (another user's email, internal notes) or accepts fields it should ignore (role, price, is_verified).

Real example. In apps affected by CVE-2025-48757, a user could set their own payment_status to "paid" and skip Stripe, because the database accepted the field from the client.

Source: Matt Palmer, Statement on CVE-2025-48757

How testers check. Compare responses across roles for extra fields, and add privileged fields to update requests.

API4: Unrestricted Resource Consumption

No limits on how much a client can ask for: page sizes of a million, unlimited file uploads, unlimited SMS or email sends, unlimited calls to a paid AI model billed to you.

How testers check. Raise page sizes, repeat expensive calls and look for missing rate limits, especially where each call costs you money.

API5: Broken Function Level Authorization

A normal user can call an admin function. The admin button is hidden in the UI, but POST /admin/users does not check the role.

How testers check. Collect admin endpoints from the front-end code and documentation, then call each as a lower-privileged user.

API6: Unrestricted Access to Sensitive Business Flows

A legitimate flow, such as buying, booking, inviting or redeeming, can be automated at a scale that hurts the business: bots buying all the stock, mass referral abuse, reserving every slot.

How testers check. Identify the flows that matter to revenue and run them in bulk and out of order. Scanners rarely see these; see why scanners miss business logic.

API7: Server-Side Request Forgery

The API fetches a URL that the user supplies, such as a webhook, an avatar link or a document import, and can be made to fetch internal addresses instead, including cloud metadata services that hold credentials.

How testers check. Point every URL parameter at internal and metadata addresses and watch for responses or timing differences.

API8: Security Misconfiguration

Verbose error messages, open CORS, missing security headers, debug endpoints left on, default credentials, or a database reachable from the internet with access rules turned off.

Real example. Wiz found Moltbook's database readable and writable from the browser because row-level security was not enabled, exposing 1.5 million API tokens.

Source: Wiz, February 2026

API9: Improper Inventory Management

You do not know all the APIs you run. Old versions, test hosts and forgotten endpoints stay online without the fixes applied to the main one.

Real example. In the 2022 Optus breach, Australia's media regulator alleged that a coding error had weakened access control on a dormant, internet-facing API endpoint. The error had been noticed and fixed on the main site in 2021, but not on the subdomain.

Source: iTnews, June 2024

How testers check. Enumerate subdomains, old version prefixes such as /v1/, and endpoints referenced in old JavaScript or mobile builds.

API10: Unsafe Consumption of APIs

Your API trusts data from third-party APIs more than user input: it does not validate responses, follows redirects blindly or passes partner data straight into queries.

How testers check. Review each integration point for validation, and test what happens when a partner returns unexpected data.

How to use the list

The list is a checklist for coverage, not a scoring system. A useful API pentest report maps each finding to an OWASP category, so auditors can see coverage and engineers can see the pattern behind the bug. If you only have time to check three things this week, check API1, API3 and API5 with two test accounts. Three of the four real examples in this guide fall into those categories.

Frequently asked questions

What is the latest OWASP API Security Top 10?

The current edition was published in 2023. Broken Object Level Authorization is ranked first.

What is the difference between IDOR and BOLA?

They describe the same problem: an API returns or changes an object without checking that it belongs to the caller. IDOR is the older, general term; BOLA is the name OWASP uses in the API list.

Does an API pentest cover the OWASP API Top 10?

A good one does, and maps each finding to its OWASP category so you can see coverage. Ask your provider to confirm this in the methodology section.

See what an attacker would find in your app

Our AI agents attack your web app or API with your permission, prove each finding with a working exploit, and senior pentesters review and sign the report.

15-minute call

Talk to our team

A 15-minute call about your app, your deadline and what your auditor, insurer or customer needs to see.