nosql injection with $where [closed]
In an intentionally vulnerable lab used for studying noSQL injection, the specific case of $where is the topic of this question:
code:
let username = req.query.username;
query = { $where: `this.username == ‘${username}’` }
User.find(query,… Continue reading nosql injection with $where [closed]