Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security] Make sure user_id in API request matches authenticated user #3

Open
vegetabill opened this issue May 11, 2020 · 0 comments

Comments

@vegetabill
Copy link

Currently it appears from the code that anyone can view any data by just guessing a user id. There should be code to make sure that the user_id matches the logged-in user id.

user_id: req.params.user_id,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant