Mass Assignment: The One-Line API Bug Hiding in Your Update Endpoint
A developer has detailed how a single-line mass assignment flaw in a PATCH /api/users/me endpoint lets any authenticated user promote themselves to admin by sending a role field in the request body, a…