OWASP API Security Top 10: Turn API risks into design and verification
The OWASP API Security Top 10 describes ten security risks that API teams can overlook. The latest public edition on the official site as checked on November 22, 2026 is the 2023 edition. It is neither a complete security checklist nor a vulnerability ranking; translate its categories into requirements and tests that fit your system’s data, permissions, and business flows.
What does the list cover, and what does it not guarantee?
An API (application programming interface) is a defined way for services, apps, and servers to exchange requests and responses. The same business function may be exposed through a web or mobile app, a microservice, or a partner integration. Hiding a button in the browser does not protect an API function if the server omits the authorization check.
OWASP’s 2023 edition is an awareness document for developers and assessors. The project says it received no public data contributions and built the list using expert review and community feedback. Its order therefore does not represent measured prevalence in every environment or priorities for a particular organization. It is separate from the OWASP Web Application Top 10 and does not replace a full API standard, certification, or test result.
How should you read the ten risks in the 2023 edition?
The names are starting points for review. One endpoint can have several risks, so examine the API contract, authentication, authorization, business rules, and infrastructure together.
| Risk | In plain language | Design and test question |
|---|---|---|
| API1 Broken Object Level Authorization (BOLA) | A user can call a permitted function but change an object ID to access someone else’s order or document. | Does every read, update, or delete verify that this user may perform this action on this object? |
| API2 Broken Authentication | Token, login, or session flaws can let someone impersonate another user. | Are token lifetime, validation, revocation, and account recovery handled consistently? |
| API3 Broken Object Property Level Authorization | Responses expose fields that should be hidden, or input can change administrative or privilege fields. | Are only permitted fields returned and explicitly allowed fields writable? |
| API4 Unrestricted Resource Consumption | Large requests, batches, or costly integrations exhaust CPU, memory, storage, or budget. | Are there appropriate limits and budget alerts for page size, uploads, execution time, concurrency, and paid calls? |
The 2023 edition also differs from 2019: it combines excessive data exposure and mass assignment under property-level authorization (API3), broadens resource limits into resource consumption (API4), and highlights sensitive business flows (API6) and unsafe API consumption (API10). When using older material, state the edition because names and numbers changed.
Why distinguish the three authorization risks?
BOLA, property-level authorization, and function-level authorization concern different boundaries. In a document service, a user may call GET /documents/123, but if 123 belongs to another customer, the object check (API1) failed. If the user can open their own document but sees an internal risk note, it is a property issue (API3). If a regular user can call an administrator-only bulk export function, it is a function issue (API5).
An unpredictable UUID does not replace authorization. Authentication identifies the requester; authorization checks whether that requester may perform this action on this object and these fields. Test different users and tenants, read versus write, regular versus admin roles, and response versus writable fields. Secret identifiers can add defense but cannot replace server-side checks.
How do you turn the list into an API review?
Following one data flow is often more useful than skimming feature names. This sequence is a practical starting point, not an OWASP-mandated procedure.
**Set boundaries and inventory.** List production and test hosts, versions, endpoints, owning teams, roles, and integrations. Include retired versions and temporary hosts to reduce API9 blind spots.
**Map data and business flows.** For each request, record the actor, object, read and written properties, role, sensitive data, and external calls. Flag flows such as purchases or password resets where repetition can cause harm.
**Turn risks into requirements.** For example: “A user may read and edit documents only in their tenant”; “Exports contain only approved fields”; “Items per request and maximum execution time are limited.” These are more testable than “check authorization.”
**Create positive and negative tests.** Confirm that allowed users can complete normal tasks, while another tenant’s ID, an admin function used by a regular role, forbidden fields, oversized pages, and malformed provider responses are rejected or handled safely. Unauthorized requests must not reveal sensitive data.
**Review operational controls.** Rate limiting alone does not solve every issue. Combine limits by account, tenant, or business flow with queues and timeouts, cost ceilings and alerts, provider-response validation, redacted logs, and version retirement as appropriate.
**Connect evidence and ownership.** Link each requirement to tests, logs, API documentation, an owner, and an exception process. Prioritize findings by impact and exploitability, then retest to verify the fix.
Hypothetical example: reviewing a SaaS document API
Assume several customers use the same document service to view, edit, and export documents. Inventory tenants, roles, owners, sensitive fields, export batch size, and the external preview service. Then test whether user A is denied access to customer B’s document (API1), whether a regular role is blocked from admin export (API5), whether responses omit administrator notes (API3), and whether oversized batches or an unresponsive preview provider can exhaust resources or cost (API4 and API10).
| Hypothetical test | Expected result | Evidence to inspect |
|---|---|---|
| Customer A requests read and edit using customer B’s document ID | Both are denied; no B data or change is exposed | Response, data-change check, authorization log |
| Regular user requests a full-customer export | Blocked by function policy | Role-based API test and audit record |
| Regular user requests or submits an admin-note field | Omitted from output; write is ignored or rejected | Role-specific response schema and before/after data |
| Page size or batch exceeds the configured maximum | Clear limit/error; work and cost do not spike | Boundary test, resource and cost metrics |
| Preview provider is slow or returns malformed data | Safe failure according to timeout/schema validation; no internal details exposed |
Do not stop at an HTTP 403: verify whether data was read or changed and whether side effects occurred. Run write tests with isolated test data in an authorized non-production environment, and test allowed cases too so the controls do not block legitimate work. Business exceptions, such as shared documents, need an explicit sharing policy and auditable evidence. This scenario is illustrative, not an assessment of a real product. The expected result is not merely a status code: no other tenant’s data should be returned, legitimate paths should keep working, and repeated attempts should be limited and recorded.
How far should you rely on it?
The API Top 10 helps with awareness, early risk discovery, and design-review questions. It is not a complete security baseline or pass/fail verdict. Reviewing all ten categories does not automatically verify an API’s requirements, implementation, or operating environment. Add requirements and tests based on service scope, data sensitivity, and threat model; compare the public API inventory with actual traffic paths.
For product-level requirements and verification, consider OWASP ASVS. For improvement of an organization’s security program, OWASP SAMM answers a different question. The API Top 10 raises awareness, ASVS supplies application requirements and verification criteria, and SAMM models program maturity. What matters is linking each risk to a control, test evidence, and a clear response owner.
References
OWASP API Security Project, [OWASP Top 10 API Security Risks — 2023](https://api-security.owasp.org/editions/2023/en/0x11-t10/)
OWASP API Security Project, [2023 Release Notes](https://api-security.owasp.org/editions/2023/en/0x04-release-notes/)
OWASP API Security Project, [API1: Broken Object Level Authorization](https://api-security.owasp.org/editions/2023/en/0xa1-broken-object-level-authorization/)
OWASP API Security Project, [API3: Broken Object Property Level Authorization](https://api-security.owasp.org/editions/2023/en/0xa3-broken-object-property-level-authorization/)
OWASP API Security Project, [API4: Unrestricted Resource Consumption](https://api-security.owasp.org/editions/2023/en/0xa4-unrestricted-resource-consumption/)
OWASP API Security Project, [API6: Unrestricted Access to Sensitive Business Flows](https://api-security.owasp.org/editions/2023/en/0xa6-unrestricted-access-to-sensitive-business-flows/)
OWASP API Security Project, [API9: Improper Inventory Management](https://api-security.owasp.org/editions/2023/en/0xa9-improper-inventory-management/)
OWASP API Security Project, [API10: Unsafe Consumption of APIs](https://api-security.owasp.org/editions/2023/en/0xaa-unsafe-consumption-of-apis/)
OWASP API Security Project, [API Security Project](https://api-security.owasp.org/)