Submit #643840: elunez eladmin latest broken function level authorisationinfo

Titleelunez eladmin latest broken function level authorisation
DescriptionTitle: Broken Function Level Authorization (BFLA) in eladmin POC: Unauthorized Email Update: A user can update another user's email address without proper authorization. The updateUserEmail in UserController takes a User object from the request body, and it's possible to change the id or username field in the request to target another user. Although it gets the current user from the security context, it doesn't use it to ensure the user being updated is the same as the authenticated user.
Source⚠️ https://www.cnblogs.com/aibot/p/19063332
User
 Anonymous User
Submission08/29/2025 06:05 (11 months ago)
Moderation09/05/2025 10:59 (7 days later)
StatusAccepted
VulDB entry322739 [elunez eladmin up to 2.7 Email Address /api/users/updateEmail/ updateUserEmail id/email improper authorization]
Points20

Do you need the next level of professionalism?

Upgrade your account now!