Every data object an API works with has properties — the individual fields that describe it.
A user object has properties like: id, name, email, role, isAdmin, passwordHash, balance.
Some of those properties are fine for the user to read or change. Others absolutely are not.
Read side (Excessive Data Exposure): The API returns sensitive properties the user shouldn't be able to see — password hashes, admin flags, other users' private data.
Write side (Mass Assignment): The API accepts and applies sensitive properties the user shouldn't be able to set — role, isAdmin, price, balance.