-
Notifications
You must be signed in to change notification settings - Fork 96
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 Issue - whitelist doesn't remove $populate #400
Comments
I don't think the merged PR solves all instances of this issue, unless I am missing something? See: feathers-mongoose/lib/service.js Line 127 in 2245af7
feathers-mongoose/lib/service.js Line 162 in 2245af7
feathers-mongoose/lib/service.js Line 210 in 2245af7
|
@DaddyWarbucks @daffl : #402 |
I think $populate simply needs to be removed from the filters there So basically, what's need to be done in order to fix the issue completely is removing lines 18 to 21. |
I still think there is something wrong with the |
But I don't really understand why it has been added in the first place. |
Isn't that already the case with the getLimit and cleanQuery functions for example ? |
I think the problem is that it conflates top level ( |
Hi,
There is a big security issue with this package
It seems that
whitelist
doesn't work.When I construct my model like this :
I'm still able to query like this
And users are populated.
The text was updated successfully, but these errors were encountered: