You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
Since profile update only filters out _id and roles fields (see user.profile.server.controller.js), other secure fields like password, salt ..etc can be updated by including those fields in request body. It is a security flaw.
The text was updated successfully, but these errors were encountered:
* Fix(users): Don't update secure profile fields
Avoid updating secure fields as password, salt ..etc through
user profile update.
Fixes#1420
* Refactor variable name
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Since profile update only filters out
_id
androles
fields (see user.profile.server.controller.js), other secure fields likepassword, salt ..etc
can be updated by including those fields in request body. It is a security flaw.The text was updated successfully, but these errors were encountered: