Skip to content
Security and monitoring Advanced

How to Monitor Plugin Vulnerabilities

Which vulnerability databases to use, why matching plugins to advisories goes wrong, and a triage rule your whole team can follow.

How to Monitor Plugin Vulnerabilities

A vulnerability alert is only worth something if it reaches you before an attacker’s scanner reaches the site. For a popular plugin with a flaw that needs no login, automated attempts commonly start within days of publication, sometimes within hours. So monitoring plugin vulnerabilities comes down to three things: a data source that is quick and complete enough, matching that does not miss your premium and bundled plugins, and a rule for what happens next that does not depend on someone’s mood.

Where the vulnerability data comes from

A researcher finds a flaw and reports it to the plugin author, directly or through a bug bounty programme. Once a fixed version is out, or the disclosure deadline passes without one, the vulnerability is published. A few databases collect these publications for WordPress specifically.

  • WPScan is one of the oldest WordPress vulnerability databases and has been owned by Automattic since 2021. It covers core, plugins and themes. Its API has a free tier with a small daily request allowance meant for non-commercial use; an agency checking client sites needs a paid plan. The command-line scanner of the same name uses the same data.
  • Patchstack runs a researcher community with a bug bounty, handles vulnerability disclosure for many plugin vendors, and publishes a free searchable database. API access and virtual patching (a firewall rule for one specific vulnerability, applied before the plugin author ships a fix) are paid products.
  • Wordfence Intelligence comes from Defiant, the company behind the Wordfence plugin. Besides the public database it offers a vulnerability data feed that Defiant opened up for personal and commercial use. Read the current terms before you build on it.
  • WPVulnerability is a community project that combines several public sources into one free API, without a key, and offers a plugin for checking a single site.
  • CVE is the global identifier system rather than a WordPress database. WPScan, Patchstack and Wordfence are all CVE Numbering Authorities, so they can assign a CVE ID themselves. The US National Vulnerability Database adds analysis such as CVSS scores, but it has had a large backlog since 2024, so for WordPress plugins the vendor databases usually carry the useful detail first.

The databases overlap heavily but not completely. One may list a flaw a day or two before another, and they sometimes disagree on severity or on which versions are affected. If you build your own check, two sources are better than one, and the licence terms decide which two you may use commercially.

Matching is where it goes wrong

A database entry says something like “Contact Form X, versions up to and including 5.8.2”. Matching that to your sites requires the plugin’s slug and its installed version. That sounds trivial until you look at a real fleet.

Premium plugins sold outside WordPress.org often have a folder name that differs from the slug the database uses, or appear under the vendor’s product name. Custom plugins written for one client sometimes share a folder name with a public plugin, which produces alerts for code that has nothing to do with the advisory. Plugins bundled inside a theme, or dropped into mu-plugins, may not be in your inventory at all. And the version string in the plugin header does not always match what the author released, especially after a manual patch.

Then there are entries with no fixed version. “Affects all versions” usually means the author has not responded, or that WordPress.org has closed the plugin. A closed plugin gets no further updates through the directory, so an update round will never fix it. Those need a person.

Two habits help. Check your matching on two or three sites by hand when you set it up, including one with premium plugins. And keep a short list of custom plugins per client so a false alert can be closed in seconds instead of investigated each time.

Reading an advisory without panicking about the score

Each advisory carries a CVSS score from 0 to 10. It is a useful sort key and a poor decision tool. What decides urgency for your sites is in the details of the advisory.

The first question is who can exploit it. Unauthenticated means anyone on the internet. Subscriber or customer level sounds harmless until you remember that every WooCommerce shop and membership site lets anyone create such an account. Contributor, author and editor levels matter on sites with guest writers or a client team you do not manage. A flaw that needs an administrator is mostly a concern if admin accounts are already shared too widely.

The second question is what an attacker gets. Arbitrary file upload, remote code execution, SQL injection and privilege escalation can each lead to a full takeover. Stored cross-site scripting can, if an administrator views the injected content while logged in. A missing capability check on a settings export is a different order of problem.

The third is whether the vulnerable part is used on this site. A flaw in a plugin’s optional REST endpoint or import feature is still worth patching, but it is less urgent if that feature is switched off. Do not let this argument delay a patch for long; features get switched on.

A triage rule you can hand to a junior

Write the rule down so the person on duty does not have to judge every advisory from scratch:

  1. No login needed (or subscriber level on a site with open registration) and a fix exists: update on every affected site today, outside the normal update round.
  2. No fix exists: deactivate the plugin if the site can do without it, otherwise replace it or put a firewall rule in front, and tell the client what you did.
  3. Contributor, author or editor level needed: include it in the next scheduled update round, sooner if the site has accounts outside your control.
  4. Administrator level needed: next update round, and check who has admin access while you are at it.
  5. Plugin closed on WordPress.org: plan a replacement within a few weeks, even if no vulnerability is listed yet.

Record each decision next to the alert. Three months later, when a client asks why their site was updated on a Tuesday afternoon, you have the answer in one line.

Getting alerts across a whole fleet

A security plugin on each site that emails its own alerts works for five sites. At fifty it produces fifty separate mail streams with different formats, and nobody sees which advisory affects how many clients. A script that queries an API with your inventory works if you have shell access to every site, which on shared hosting you usually do not.

What you want is one view per vulnerability: which sites run the affected version, which have been patched, which are waiting. From there the update can go into a round with a backup taken first, so a bad patch can be rolled back. That is how WP Octo handles it: vulnerability checks for plugins, themes and core across every site, feeding into update rounds with a backup and automatic rollback of a plugin that breaks the site. The features page has the details.

Vulnerability data is one layer of the setup described in WordPress security monitoring for agencies. It tells you where a door is open, not whether someone already came in. For that, see WordPress malware detection explained, and if the answer is yes, what to do when a WordPress site gets hacked.

Read also