· 7 min read · Mert Tati
How to Find WordPress Vulnerabilities: Types of Security Scans
How do you find WordPress vulnerabilities, and what does an automated security scan catch? Exposure, plugin CVE, malware and file integrity scans.
Short answer: you can't find WordPress vulnerabilities with a single scan, because a “vulnerability” can mean four different things: the site showing unnecessary doors and information to the outside world (exposure), a known flaw in an outdated plugin or theme (CVE), malicious code planted on the site (malware), and modified core files (file integrity). Each is found by a different type of scan, and knowing which one you ran, and when, determines what “the site was scanned and it's clean” actually means.

What counts as a “vulnerability” in WordPress?
Most of the ways attackers get into a site are nothing new: a known plugin vulnerability, a guessable password, a login door left open, or an endpoint that tells everyone your username. Some are genuine bugs (vulnerabilities); others are simply default settings left more open than they need to be. The two are found in different ways and fixed in different ways.
The four scan types and what they find
- Exposure (attack surface) scan: measures what your site reveals to someone looking from the outside. Is XML-RPC open, does the REST API list users, does ?author=1 give away a username, does the sitemap publish authors? These aren't vulnerabilities; they're attack surface.
- Plugin and theme vulnerability (CVE) scan: compares your installed plugin, theme and core versions against databases of known vulnerabilities. It needs to be connected to an up-to-date, well-maintained database.
- Malware scan: searches files and the database for backdoors, hidden redirects, spam links or suspicious code.
- File integrity check: compares WordPress core files against the official release and shows any files that have been modified or added.
These four types are not interchangeable. A site with a fully closed attack surface can still be taken over through an outdated plugin, and a site with no known vulnerabilities can still face password guessing through an open XML-RPC. Vulnerability and malware scanning require a separate security tool with an up-to-date signature database, or a server-side scanning service from your hosting provider. Asking your host whether they run this kind of scan on the server is a good place to start.
The setting looks on, but is the door really closed?
The most common mistake in exposure scanning is checking the setting instead of the result. A plugin may have its “Disable XML-RPC” box ticked, but if another plugin, the theme or a server rule gets in the way, the door stays open. The right approach is to send real requests to the site the way an outside visitor would and look at the response. A few simple checks you can do by hand:
- In a logged-out browser, open yourdomain.com/wp-json/wp/v2/users. If you see a list of users, your usernames are exposed.
- Open yourdomain.com/?author=1. If it redirects to /author/username/, the first administrator's name is out in the open.
- Check whether yourdomain.com/wp-sitemap-users-1.xml publishes a list of authors.
- Check whether the author name shown under your posts is the same as the username you log in with.
- Telling by hand whether xmlrpc.php accepts passwords is hard; leave that to a scanning tool that sends real requests.
We explain why these leaks matter and how to close them in detail in our articles on hiding your WordPress username and disabling XML-RPC in WordPress; for the REST API side, see our article on REST API security.
Automated WordPress security scans: how automatic are they?

“Automated scanning” means different things from tool to tool. Some tools scan on their own at set intervals and send you an email; some only run when you open the dashboard or ask them to; others scan from outside the site, from a cloud service. When choosing a tool, ask these questions:
- When does the scan run: on a schedule or on demand?
- Which types does it cover: exposure, vulnerabilities, malware, file integrity?
- How often is the vulnerability database updated, and who maintains it?
- Is site data or are files sent to an external service?
- When it finds something, does it tell you what to do, or does it just show a warning?
The most robust way to build a fully automated setup is to think in layers: regular malware and file checks on the server, vulnerability alerts that track plugin updates, and a dashboard inside WordPress that measures your attack surface. Comprehensive WAF- and scan-focused security plugins bundle several of these types into one package, while lightweight plugins focused on login and exposure do a narrower but deeper job. Which one suits you depends on the size of your site and what your server already provides; for a comparison, see our article on the best WordPress security plugin.
Hushfort Surface Scan: what it scans and what it doesn't
The Surface Scan in the Hushfort plugin measures only the first type, the attack surface, and it does so by looking at what the site actually shows the outside world rather than what the settings say: it sends real requests to the site through itself and evaluates the responses. The surfaces it checks:
- XML-RPC: whether it's fully disabled, only login is disabled, or passwords can still be tried; whether system.multicall responds is shown separately.
- REST user listing: if it gives out usernames without logging in, the leaked names are listed one by one.
- Author enumeration: whether a ?author=N request reveals the username.
- Sitemap author list: whether the core sitemap publishes author archives.
- Whether the username and display name are the same.
- Whether application passwords are enabled.
Each finding appears on its own card with an open/closed status. For an open item, a “Fix” link takes you straight to the relevant setting, and a “What should I do?” button opens a guide window specific to that issue: what the surface is for, how attackers use it, the full fix and possible side effects. The Security Layers summary at the top of the dashboard shows at a glance which modules are on and which are off; disabled or missing layers are highlighted in red.
The scan doesn't run in the background as a scheduled task: it runs when you open the Hushfort dashboard or click “Rescan.” The result is cached for 10 minutes and is automatically invalidated when you change a setting, so you see the effect of a fix right away. Hushfort does not do plugin or theme vulnerability (CVE) scanning, malware scanning or file integrity checks; for those, you need a separate scanning tool or a server-side solution.
Vulnerability detection checklist
- Exposure: XML-RPC login and system.multicall are disabled, and usernames don't leak through REST, ?author=1 or the sitemap.
- Display name and username differ; application passwords are disabled if you don't use them.
- Core, plugins and themes are up to date; unused plugins and themes are deleted.
- There's an alert or scan connected to an up-to-date database of known vulnerabilities.
- Regular malware and file integrity checks run on the server.
- There are regular backups stored separately from the site, and restoring has been tested at least once.
- What each scan covers and when it runs is written down.
If running this checklist regularly on your own site or client projects feels like a lot, our Izmir-based team can take care of both the server and WordPress side as part of our software and hosting service.
Frequently asked questions
Are online WordPress security scanners enough? Services that scan from the outside can see your attack surface and version information, but they can't look inside the files on your server. Malware and file integrity checks need a tool that runs on the server.
The scan found an issue. Does that mean my site was hacked? No. An exposure finding or an outdated plugin is a risk, not evidence of an attack. If you see users, files or redirects you don't recognize, follow the steps in our my WordPress site was hacked guide.
How often should I scan? Repeat the exposure scan after every plugin install, theme change and major update, because a new plugin can reopen a closed door. How often you run vulnerability and malware scans depends on the options your tool and hosting service offer.
Summary: to find WordPress vulnerabilities, separate the four scan types: exposure, plugin vulnerabilities, malware and file integrity. Measure exposure by real requests rather than settings, use a separate tool or server-side scanning for vulnerabilities and malware, and know when, and what, each tool scans.