Web Security · Middle · Question 64 of 75

What is NoSQL injection, for example in MongoDB?

Explanation

If password from JSON is used directly in find({ password }), an operator object bypasses the check. Validate types with a schema.

Further reading

Problem with a question

Web Security · Middle · question 64

Test yourself

Take the Web Security · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz