Preventionlabs
How It Works AI agents Pricing Fix Guides Get started

Can people see my WordPress usernames?

Updated 2026-10-17

Short answer: often, yes. Out of the box, WordPress can list user accounts at /wp-json/wp/v2/users and through author pages like /?author=1. That hands anyone the usernames to try passwords against.

How to check it yourself

  1. Open https://yourdomain.com/wp-json/wp/v2/users in a private window and look for usernames.
  2. Try https://yourdomain.com/?author=1 and see whether the address changes to show a username.
  3. Use a security plugin or a small code snippet to hide user listings from logged-out visitors.
  4. Make sure every account has a strong password and two-factor sign-in.

Why it matters

A login needs a username and a password. If your usernames are public, attackers only have to guess the password, and automated tools try common passwords against every name they find. Hiding usernames isn't a defence on its own, but it removes half of the guessing.

Common causes

  • WordPress's REST API lists users by default.
  • Author archive pages show the account name in the address.
  • The display name is set to the login name.
  • A theme shows author names linked to their archive pages.

What Preventionlabs shows

For WordPress sites, every report checks from outside, without logging in, whether user accounts are listed publicly and whether xmlrpc is open, and checks the WordPress version and the plugins it can see against their latest releases. It reports the display names it finds, not login names.

Price

First report free, no card needed. Then A$50 a month, up to 10 domains.

Run your first report free

More questions it answers

  • Is my WordPress site up to date and secure?
  • Are my WordPress plugins out of date?
  • Is old JavaScript on my website a security risk?
  • All questions
© 2026 Preventionlabs. All rights reserved.
Home Terms Privacy

More questions it answers

  • Is a secret API key exposed in my website code?
  • Is phpMyAdmin or a debug tool open to anyone on my site?
  • My missing pages return 200 OK instead of 404
  • All questions