馃殌 Looking for fast WordPress hosting? Get 20% off Hostinger 路 affiliate link (disclosure)
Guide

How to Check a WordPress Site for Vulnerable Plugins

Updated 23 Oct 2026 路 by the DetectWP team

Most WordPress sites that get hacked are not broken into through WordPress itself. They are compromised through a plugin or theme with a publicly known vulnerability that was never patched on that site. The good news is that the same public knowledge is available to you. Several organisations maintain databases of WordPress plugin vulnerabilities, each entry lists which versions are affected, and comparing a site's installed plugins against those lists takes minutes. This guide explains where the data comes from, how to match it to a site accurately, and what to do with the result.

The DetectWP scanner performs this comparison for every plugin and theme it detects on a site. Understanding the process will help you read its findings correctly, especially the difference between a historical and a confirmed vulnerability.

Where vulnerability data comes from

Three databases cover the large majority of published WordPress vulnerabilities, and they overlap heavily because all three are CVE Numbering Authorities able to assign CVE identifiers for WordPress software:

  • Wordfence Intelligence, run by Defiant, the company behind the Wordfence security plugin. Its vulnerability database is published freely on the web with a free API for non-commercial and commercial use, and it is the source of a large share of recent WordPress CVEs because of its bug bounty programme.
  • WPScan, now owned by Automattic. It maintains a long-running database and a command-line scanner of the same name, with a free API tier that is limited by request volume and a paid tier for heavier use.
  • Patchstack, which runs its own database and bug bounty programme and sells a protection service built around it, including virtual patching that is discussed later in this guide.

All three feed into the global CVE list, so the National Vulnerability Database at NIST contains most of the same entries with CVSS severity scores, though usually with a delay and less WordPress-specific detail. Plugin vendors themselves publish changelogs on wordpress.org that often mention security fixes, and wordpress.org closes plugins from its directory when a serious unpatched issue is reported, which is itself a signal.

Each entry in these databases normally records the plugin slug, a title describing the flaw, the type (cross-site scripting, SQL injection, privilege escalation, arbitrary file upload and so on), the privilege level needed to exploit it, the affected version range, the version that fixed it if one exists, and a severity score. Those last two fields are what make the check useful.

Why the installed version is everything

A vulnerability is almost always described as affecting versions up to and including a specific release, for example "affects versions 3.2.0 and earlier, fixed in 3.2.1". The plugin being installed is not the problem; the plugin being installed at an affected version is. A site running the current release of a plugin with fifty historical CVEs is in a far better position than a site running a two-year-old release of a plugin with one.

That means an accurate check depends on knowing the version. From outside a site you can find it in several places, which we cover in detail in our plugin detection guide: the ?ver= query string on the plugin's own scripts and styles, version numbers written into HTML comments by plugins such as Yoast SEO, and the Stable tag: line in /wp-content/plugins/<slug>/readme.txt when the file is readable. From inside a site you manage, the Plugins screen in the admin shows every installed version and flags available updates.

Two cautions. The ?ver= value is not always the plugin version; some plugins pass a file hash or the WordPress version instead, so prefer readme.txt or an explicit comment when they are available. And a plugin can be installed but inactive, in which case it usually leaves no trace on the front end yet may still be exploitable through direct requests to its files. The only complete inventory is the one in the admin.

Historical versus confirmed vulnerabilities

When a detector reports vulnerabilities, it is important to understand what level of certainty is behind the report. DetectWP, and most careful tools, distinguish two cases:

  • Confirmed: the detected version of the plugin falls inside the affected range of a published vulnerability. For example, the site loads /wp-content/plugins/example-plugin/js/front.js?ver=3.2.0, and the database says the issue affects 3.2.0 and earlier. The site is, as far as public evidence shows, running vulnerable code.
  • Historical: the plugin has had published vulnerabilities, but either the installed version could not be determined, or the detected version is newer than every affected range. The plugin has a security history; the site is not known to be exposed right now.

A historical finding is not an alarm. Popular plugins with large codebases accumulate CVEs over the years, and a long list of fixed issues can actually indicate an actively maintained project with responsive developers and security researchers paying attention. A confirmed finding deserves immediate attention, and an unknown version with a serious recent CVE deserves a closer look to establish the version by another route.

Also read the privilege level. A vulnerability that requires an administrator account to exploit is a very different risk from one that can be triggered by any anonymous visitor. Unauthenticated, high-severity issues in widely installed plugins are the ones exploited at scale within days of disclosure. The DetectWP methodology page describes how findings are classified and why the tool never reports a confirmed vulnerability without a detected version.

How to run the check on a site you manage

For your own sites, work from the inside, where the inventory is complete:

  1. Open the Plugins screen and note every installed plugin and version, including inactive ones.
  2. Install a security plugin that performs vulnerability scanning against one of the databases above. Wordfence, Patchstack and several others compare your installed versions automatically and email you when a match appears. Jetpack Protect uses the WPScan data for the same purpose.
  3. For a one-off audit without a plugin, search each slug on the Wordfence Intelligence or WPScan website and compare the affected ranges against your versions by hand. This is tedious beyond a dozen plugins, which is why continuous scanning is the normal approach.
  4. Check for plugins that have been closed on wordpress.org or have not been updated in a long time. A plugin with no maintainer will never receive a fix.

For a site you do not manage, use the external approach: detect the plugins and versions from the public HTML, then look up each one. The DetectWP plugin detector does both steps together and lists any matching vulnerabilities with their severity and affected range.

How to respond to a finding

Once you have a confirmed vulnerability, the options in order of preference are:

  1. Update the plugin. If a fixed version exists, updating is almost always the complete fix. Take a backup first, update on staging if you have one, and check the plugin's changelog for breaking changes. Consider enabling automatic updates for the plugin afterwards so you are not exposed next time.
  2. Remove the plugin. If no fix exists, the plugin is abandoned, or you no longer need it, delete it rather than merely deactivating it. Some vulnerabilities are reachable through a plugin's files even when it is inactive.
  3. Replace it. If you need the functionality and the plugin is unmaintained, find a maintained alternative and migrate. This is work, but it is less work than cleaning up a compromise.
  4. Virtually patch while you wait. A web application firewall can block the specific request pattern that exploits a vulnerability before it reaches the plugin. Patchstack's service and Wordfence's firewall rules both do this, and some hosts and CDNs offer managed WAF rules for WordPress. Virtual patching buys time; it does not remove the vulnerable code, so still plan the update or removal.

If the vulnerability is serious, has been public for a while and your site was exposed, assume it may already have been exploited. Check for unfamiliar administrator accounts, unexpected files in /wp-content/uploads/ and modified core files, run a malware scan, and restore from a clean backup if anything looks wrong. Rotating passwords and salts after a suspected compromise is cheap insurance.

Keeping the problem from coming back

Vulnerability checking works best as a habit rather than an event. A few practices keep the exposure window short:

  • Enable automatic updates for plugins and themes where you can tolerate the small risk of a bug, and review the rest weekly.
  • Keep the plugin count low and remove anything you are not actively using.
  • Prefer recently updated plugins with active support, and avoid nulled copies, which cannot receive updates and frequently contain malware.
  • Use a scanner that notifies you of new disclosures, and pair it with a firewall so an overnight disclosure is blocked until you patch.

None of this requires hiding your plugins from detectors, and as we explain in our guide on hiding WordPress fingerprints, hiding would not have helped anyway. Knowing exactly what you run, and keeping it current, is the whole game.

Frequently asked questions

Does a plugin with past vulnerabilities mean my site is insecure?

Not by itself. What matters is whether your installed version falls within an affected range. A current version of a plugin with many fixed vulnerabilities is not exposed by those issues.

What is the difference between a historical and a confirmed vulnerability?

Confirmed means the detected version is within the affected range of a published vulnerability. Historical means the plugin has had vulnerabilities but the detected version is newer than all of them or could not be determined.

Which vulnerability database should I use?

Wordfence Intelligence, WPScan and Patchstack all cover the vast majority of WordPress plugin vulnerabilities and assign CVEs. Any of them is sufficient for a check; using a security plugin that queries one continuously is the practical choice for your own sites.

What is virtual patching?

A firewall rule that blocks the specific request used to exploit a vulnerability, protecting the site before the plugin is updated. It is a stop-gap, not a replacement for updating or removing the vulnerable plugin.

Can an inactive plugin be exploited?

Sometimes. Some vulnerabilities are in files that can be requested directly regardless of whether the plugin is active. Delete plugins you do not use rather than leaving them deactivated.

Related

Free tools: WordPress plugin detector 路 WordPress theme detector 路 WordPress hosting detector

Does a site use a theme or plugin?

Paste any URL. DetectWP lists the theme, plugins, versions, hosting and known vulnerabilities in seconds.