Modern applications are a thin interface over an API. Attackers skip the interface and talk to the API directly. The names below follow the OWASP API Security Top 10.
1. Broken object level authorisation
The API checks that you are logged in, but not that the record you asked for is yours. Changing an ID in the request returns someone else's data. Fix: check ownership on every request, in one shared place.
2. Broken function level authorisation
Admin functions are hidden in the interface but callable by any user who knows the URL. Fix: enforce roles on the server for every route, and deny by default.
3. Mass assignment
The API accepts whatever fields it is sent, so adding "role": "admin" to a profile update works. Fix: accept only an explicit list of fields for each endpoint.
4. Weak token handling
Tokens that never expire, are not invalidated at logout, or are accepted without their signature being verified. Fix: short lifetimes, server-side revocation and strict validation in a well-tested library.
5. No limits on use
Without rate limits, an attacker can guess one-time codes, enumerate accounts or extract a whole database one record at a time. Fix: rate limit by account and by source, and alert on unusual volume.
How to test for them
Scanners find few of these, because each depends on what the application is meant to allow. They are found by a person with two accounts and a proxy. That is how we run every web application and API test.