CanonicalSecurity
IDOR / broken access control (CWE-639): an id from the URL is not permission to access that record
Looking a record up by the id in the URL/params without also checking the caller owns (or is otherwise allowed to access) it lets any authenticated user read or modify another user’s data by changing the id. Every lookup by a client-supplied id needs an ownership/scope filter in the same query.
securityidorcwe-639