API Testing · Junior · Question 59 of 75

What is the risk of an API that returns more fields than the client needs?

Show the answer

Correct answer: It may leak sensitive data like password hashes or emails

Explanation

Excessive data exposure is a common API vulnerability. Testers check responses don't include internal or private fields.

Further reading

Problem with a question

API Testing · Junior · question 59

Test yourself

Take the API Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz