With the current WordPress API you can get a list of usernames and email addresses of all users in the system with almost no effort:
<url>/wp-json/wp/v2/users
Outputs something like:
[{
"id":1,
"name":"admin",
"url":"",
"description":"",
"link":"http:\/\/...\/author\/admin\/",
"slug":"admin",
"avatar_urls":{
"24":"http:\/\/1.gravatar.com\/avatar\/...",
"48":"http:\/\/1.gravatar.com\/avatar\/...",
"96":"http:\/\/1.gravatar.com\/avatar\/..."
},
"meta":[
],
"_links":{
"self":[
{
"href":"http:\/\/.../wp-json\/wp\/v2\/users\/1"
}
],
"collection":[
{
"href":"http:\/\/..."
}
]
}
},...
The username and ID are immediately visible. I don't see how this is anything other than a clear user enumeration vulnerability.