3 matches found
Mongoose: Connection-level SanitizeFilter Not Applied
Summary sanitizeFilter exists to stop query selector injection: it wraps operator objects such as " $ne: null " in filter values in "$eq", so they are matched literally. Set on a connection with "mongoose.connect" or "createConnectionuri, sanitizeFilter: true ", the connection reports it as enabl...
GHSA-GG4R-JV3P-QX3C Mongoose: Connection-level sanitizeFilter not applied
Summary sanitizeFilter exists to stop query selector injection: it wraps operator objects such as $ne: null in filter values in $eq, so they are matched literally. Set on a connection with mongoose.connect or createConnectionuri, sanitizeFilter: true , the connection reports it as enabled but...
Improper Neutralization of Special Elements in Data Query Logic
Overview mongoose is a Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic via QuerycastConditions in lib/query.js, which checks...