An issue exists where unauthenticated attackers can manipulate user lookups by passing JSON objects into the `id` parameter. By sending MongoDB query operators, such as `$ne` (not equal) or `$gt` (greater than), to the 'POST /api/user' endpoint, an attacker can select and enumerate public profile records of other users. NoSQL injection is a technique where an attacker uses specially crafted queries to bypass database filters or extract unauthorized data from a NoSQL database.