
WordPress Security Testing: Every Plugin and Theme, Checked From the Outside
When people worry about WordPress security, they usually think about WordPress itself. In practice, core is rarely the problem. Patchstack counted 11,334 new vulnerabilities in the WordPress ecosystem in 2025: 91% were in plugins, 9% in themes, and just 6 in WordPress core. A typical site runs dozens of plugins, each with its own developer and release cycle, and most site owners couldn't tell you which versions they're running.
Most outside scanners stop at core. They spot "WordPress 6.x", check it against the main public vulnerability database, and move on. The part most likely to be vulnerable goes unchecked.
Starting today, when a Decloak scan finds a WordPress site, it lists every plugin and theme it can detect, works out which versions are running, and checks them against the full Wordfence Intelligence vulnerability database. It also tests for the WordPress misconfigurations attackers look for first. You don't install anything, log in or configure anything.
Why test from the outside
WordPress security plugins do valuable work from inside the site, and we'd recommend running one. But they see the site the way its owner does.
An attacker sees it from the outside. That's where you notice the things an inside view misses: a wp-config.php.bak someone left on the server during a migration, a public debug log, an uploads folder anyone can browse. Decloak tests the site the way an attacker would, which makes it a useful second opinion alongside whatever you run inside.
How it works
1. Finding the plugins and themes
- Every page we crawl is checked for files loaded from
/wp-content/plugins/and/wp-content/themes/, not just the homepage. - The REST API index at
/wp-json/is read too. It often reveals plugins that load nothing on public pages, such as form handlers, membership systems and e-commerce back ends. - Child themes have their parent theme checked as well.
- Subfolder installs, such as a WordPress blog at
/blog/, are handled.
2. Working out exact versions, carefully
Version detection is where outside scanners usually go wrong, so we've been strict about it.
- Plugin versions come from the plugin's
readme.txt. - Theme versions come from the
Version:line in the theme'sstyle.css. - The
?ver=number on a file is only trusted when it's genuine. WordPress adds its own core version to any file that doesn't declare one, so a careless scanner reads "WordPress 6.4" as "plugin version 6.4" and reports vulnerabilities that don't exist. Decloak ignores those. - If a version can't be found, we say "version hidden". We never guess. We learned how much this matters in September, when a WordPress detection bug reported fully patched sites as ancient versions. We wrote about it in our stability and accuracy update, and it's shaped how cautious this feature is.
3. Matching against Wordfence Intelligence
Wordfence Intelligence is a dedicated WordPress vulnerability database, with about 45,000 records covering plugins, themes and core, updated daily. We use two of its feeds:
- The production feed has fully analysed records, with CVE ID, severity score, description and the version that fixes each issue.
- The research feed also includes newly discovered vulnerabilities that Wordfence is still investigating. Decloak shows these as Early warning findings, so you can hear about a problem in a plugin you use before it has a CVE or full details. Early warnings are shown in the report but don't affect your grade until Wordfence confirms them.
4. One finding per plugin, with one action
An outdated plugin might have 50 known vulnerabilities. You don't need 50 findings. You need to update one plugin.
So each vulnerable plugin is one finding, such as "Vulnerable plugin: Example Forms 1.2.3", with the fix: update to version 1.4.0 or later. Each vulnerability is still listed and linked to its Wordfence record if you want the detail.
If no fixed version exists yet, the finding says so plainly and advises deactivating or replacing the plugin until one does.
Hardening and exposure checks
Every WordPress scan also runs read-only checks for the misconfigurations attackers look for first:
| Check | What it looks for |
|---|---|
| XML-RPC | Whether xmlrpc.php is enabled. It's worse if system.multicall is on, which lets attackers try many passwords in one request, or pingback is on, which can be abused to attack other sites |
| Username listing | Usernames visible through the REST API or ?author=1. They're shown partly masked in the report |
| wp-config.php exposure | The config file's source, or any of 11 common backup names such as .bak, .old, .save and ~. Only flagged if the database password is actually in the file, and the password is never stored |
| debug.log | A public debug log. Only flagged if it really contains PHP log lines |
| Directory listing | Browsable uploads/, plugins/ or wp-includes/ folders |
| Open installer | A WordPress install screen that anyone could complete to take over the site |
One principle runs through all of these: a check never flags on the status code alone. A server that returns "200 OK" for a missing file is common, and plenty of scanners report that as an exposure. Every Decloak check reads the response and confirms the content is real before it reports anything. That's why false positives are rare.
Hidden plugins, with Active Testing
Some plugins load nothing on public pages, so neither page scanning nor the REST API reveals them. When Active Testing is switched on, the scan also checks directly for the 100 plugins with the most high or critical vulnerabilities in the last three years.
What you'll see
- A WordPress section in the report. A table of every plugin and theme found, with its version, status and fixed version, and each vulnerability linked to its Wordfence record. It also lists every check that ran, with its result.
- A WordPress tile on your scoreboard and on the report map.
- The same section in PDF reports, in all 11 report languages.
- Tracking over time. Findings are tracked between scans like everything else, so when you update a plugin, its finding is marked fixed on the next scan. Comparison reports show exactly what changed.
Honest about what wasn't tested
Anything the scan couldn't check gets a "could not verify" row with the reason: a hidden version, no response, or a check we deliberately don't run. It isn't quietly left out, and it isn't shown as passed.
What it doesn't do
- It doesn't test logins. Login protection and two-factor authentication are deliberately never tested. We don't try passwords against your site.
- Hidden versions stay unknown. If a plugin hides its version, we tell you, but we can't check it against the database.
- It only sees what's detectable from outside. A plugin that loads nothing publicly and isn't in the REST API may not be found, unless it's among the 100 we check for directly with Active Testing.
- It complements, rather than replaces, an inside view. A security plugin running on the site can see files, users and settings we can't.
- It reports, it doesn't patch. Updating plugins is still your job, though the finding tells you exactly which version to update to.
Plans
The full feature is included on Enterprise. On Free, Starter and Pro, the report shows a preview listing the plugins and themes found on your site, without vulnerability counts, so you can see what we'd check.
Why now
WordPress runs a large share of the web, and it has turned up in our Uncloaked digests more often than we'd like this year, from plugin backdoors to flaws exploited within hours of disclosure. Every one of those stories starts with the same question: what are you actually running? Now you can find out.
Sources: Patchstack, State of WordPress Security in 2026
Find out which WordPress plugins and themes your site is running. Run a free scan →