Is a WordPress Plugin Safe? How to Check It Before Installing and Track Vulnerabilities After
← Back to the blog

Is a WordPress Plugin Safe? How to Check It Before Installing and Track Vulnerabilities After

·Ivan Pantić

In short: Before installing a plugin, check when it was last updated, which WordPress version it was tested with, how many active installs it has, whether the author answers support threads and whether public databases list known vulnerabilities. After installing, track vulnerabilities through databases such as WPScan, Patchstack or Wordfence Intelligence, update regularly and remove plugins you do not use or that have been closed.

WordPress core is well maintained, and security holes in it are rare and quickly patched. On the sites we clean, the cause of the break-in is usually somewhere else: in a plugin. Plugins are written by thousands of different authors, from large companies to individuals who abandoned their project years ago, and every plugin you install gets the same privileges as WordPress itself.

That does not mean you should avoid plugins. It means choosing them as carefully as you would choose someone to hand the office keys to. In this article we show how to assess a plugin in five minutes before installing it, how to read vulnerability notices, and how to keep track of the plugins you already have.

Why plugins are the main way in for attackers

Every plugin is code that runs on your server with full access to the database and files. If a plugin has a flaw, for example it does not check who may call a function or does not sanitise what a user types into a form, an attacker can use it to create an administrator, upload a file or read data.

Attackers know this and work systematically: as soon as a vulnerability in a popular plugin is published, bots start looking for sites running the vulnerable version. They do not need your site in particular, just any site with that plugin. The more popular the plugin, the more profitable the attack.

There is also a rarer but more dangerous scenario: the plugin itself being compromised. In June 2024 it was discovered that several plugins in the official repository had received malicious code after attackers gained access to their developers’ accounts. Sites that updated them automatically got a backdoor through the update. Such cases are rare, but they show why it matters to keep watching after installation too.

Before installing: five things on the plugin page

For plugins from the official repository, the page on wordpress.org contains almost everything needed for a first assessment:

Plugin page on wordpress.org with the details that matter for a security assessment highlighted
Five details on the plugin page give a first assessment in under a minute.
  1. Last updated. A plugin updated within the last few months is a sign someone maintains it. If there is a warning that it has not been updated for more than two years, look for an alternative.
  2. Tested up to. If the plugin has only been tested with old WordPress versions, the author probably no longer follows it actively.
  3. Active installations. A larger number means more eyes spotting problems, but also a bigger target. It is no guarantee of security on its own, but a plugin with a few dozen installs carries the risk that nobody notices a flaw.
  4. Support. The support tab shows how many threads were resolved in the last two months. An author who answers support threads will probably react quickly to a security flaw too.
  5. Changelog. See whether security fixes are mentioned. That is not a bad sign, quite the opposite: an author who lists them openly takes security seriously. The bad sign is when the latest version fixed a security hole and nobody noted it anywhere.

Checking vulnerability databases

Before installing, search for the plugin name in one of the public databases of WordPress plugin vulnerabilities: WPScan, Patchstack or Wordfence Intelligence. All three offer free search and list, for each vulnerability, the affected versions, the version where it was fixed and a severity rating.

A few vulnerabilities in a plugin’s history is not a reason to reject it, especially for large and popular plugins. What matters is whether they were fixed quickly. A serious warning sign is a vulnerability that was published while no patch appeared for weeks or months.

Checklist before installing a new WordPress plugin
A short routine before you click "Install".

Closed plugins

When a plugin is closed in the official repository, its page shows a notice that it is not available for download. There can be different reasons: the author abandoned it, repository rules were broken, or there is an unresolved security issue. For a plugin you already have, it means it will no longer receive updates through the admin area.

Closed plugins are especially dangerous because the site shows no warning on the updates screen: the plugin simply looks up to date. So check now and then that the pages of all your plugins exist on wordpress.org and are available.

Notice that a plugin has been closed and is not available for download
A closed plugin gets no updates through the official repository. If you have it, look for a replacement.

Commercial plugins and plugins outside the repository

For paid plugins bought from known authors the same questions apply; you just look for the answers on the author’s site: how updates are delivered, how long the licence lasts and what happens when it expires. A plugin with an expired licence often stops receiving updates, including security ones. If you do not plan to renew, plan a replacement.

Do not install plugins from unofficial sites, forums or “free” bundles of premium plugins. The same goes for “patches” that arrive by email: that is phishing aimed at WordPress administrators. It is not a question of code quality, but of the fact that you do not know who added what to the files before they reached you.

How to read severity ratings

Vulnerabilities are usually rated with the CVSS system, on a scale from 0 to 10, split into levels: low, medium, high and critical. The score is a useful first indicator, but for a site owner two practical questions matter more:

  • Does the attacker need an account on the site? A vulnerability anyone can exploit without logging in is far more urgent than one where the attacker must be a logged-in subscriber or administrator. If your site does not allow user registration, vulnerabilities that need a subscriber account are less dangerous for you.
  • What does the attacker get? Code execution, creating an administrator or uploading files mean full control of the site. Changing some setting or displaying a message on the page are much smaller problems.
CVSS vulnerability severity scale from low to critical
The score helps set urgency, but whether exploitation needs a login matters just as much.

Treat a critical vulnerability that needs no login as urgent: update the same day, and if there is no patch, deactivate the plugin temporarily.

How much time you have after publication

Between the discovery of a vulnerability and its exploitation there is a window in which you can react. With responsible disclosure, the researcher first reports the problem to the author, the author releases a patch, and the vulnerability is made public after that. From the moment of publication attackers have everything they need, and for popular plugins automated attacks often start within days, sometimes hours.

That is why updating by hand once a month is no longer enough for sites with many plugins. Turn on automatic updates for plugins you trust and that rarely break, and keep a weekly check rhythm for the rest.

Lifecycle of a plugin vulnerability from discovery to automated attacks
The window between a patch being published and the first attacks is often shorter than owners think.

Keeping track of the plugins you have

Automatic updates

Since version 5.5 WordPress lets you turn on automatic updates for each plugin individually, right in the plugin list. For most stable plugins that is good practice. For complex plugins, such as those for an online shop, it is better to update in a controlled way, after a backup or in a staging environment. Whether your host offers staging is one of the questions for choosing secure hosting.

Vulnerability notifications

Services such as Patchstack and Wordfence offer notifications when a vulnerability appears in a plugin you have on your site. That is more useful than following the news, because you only get what applies to you.

WP-CLI for a quick overview

If you have SSH access, WP-CLI lists all plugins with their status, version and available updates in seconds. It is the fastest way to review several sites at once.

List of plugins with available updates produced by a WP-CLI command
WP-CLI shows which plugins are waiting for an update in seconds.

Regular clean-outs

Once a quarter, go through the plugin list and ask the same question of each one: do we still need this? Deactivated plugins remain on the server and can be exploited, so delete them. Every plugin fewer is one source of vulnerabilities fewer.

Example: two plugins for the same job

Say you are looking for a form plugin with file uploads, a feature that is often attacked. You find two candidates. The first was updated two weeks ago, tested with the current WordPress version, has hundreds of thousands of installs, shows a few flaws from past years in the vulnerability database that were fixed within days, and the author answers support threads regularly. The second was last updated eighteen months ago, has a few thousand installs, a dozen unanswered support questions, and a file upload flaw in the vulnerability database with no fixed version listed.

Even if the second has a feature you like more, the choice is clear. The first plugin is a bigger target but has an author who reacts. The second has a known, unfixed vulnerability in exactly the feature you need. Assessments like this, which take five minutes, prevent most of the break-ins we later clean up.

Themes follow the same rules

Everything that applies to plugins applies to themes too. A theme can contain as much code as a large plugin: its own forms, demo content importers, page builders and integrations. Check when the theme was last updated, whether it has known vulnerabilities and whether it comes from a reliable source. Delete inactive themes, except one default as a fallback, because they too stay on the server and can be exploited.

Be especially careful with themes that bundle their own copies of well-known plugins, such as page builders or sliders. Those bundled copies are not updated through the plugins screen, only when the theme author releases a new version, which sometimes lags by months.

How many plugins is too many?

There is no magic number. A site with thirty well-maintained plugins can be more secure than a site with five abandoned ones. Still, every plugin increases the attack surface and the maintenance work. If you can handle two things with one quality plugin, or one feature with a few lines of code in the theme, that is usually the better choice.

When a plugin has already been exploited

If you discover you were running a vulnerable version of a plugin that was being actively attacked, updating is not the end of the job. The patch prevents a new way in, but it does not remove what the attacker may have already left. Check the administrator list, the files in the uploads and mu-plugins folders, recently modified files and unusual scheduled tasks. If the attacker could reach customer data, also read when a breach must be reported.

For a quick outside assessment, run the free website check. If you suspect the hole was exploited, a deep review and cleanup are described in the price list, and we take urgent cases the same working day on +381 65 402 5000.

Conclusion

Plugin security is not a one-off decision but a habit. Before installing: five minutes of checks on the plugin page and in a vulnerability database. After installing: automatic updates where possible, vulnerability notifications and regularly removing everything you do not use. Those three habits close the doors most attackers come through, and a Content-Security-Policy limits the damage if a script still gets through.

FAQ

Is a plugin with a million installs automatically safe?

No, but a flaw is more likely to be found and fixed quickly. Popular plugins are attacked more often, so with them it is especially important to update right after a patch is released.

Is it dangerous to keep deactivated plugins?

Yes. A deactivated plugin is not run by WordPress, but its files remain on the server and some vulnerabilities can be exploited by calling a file directly. Delete plugins you do not use.

What if there is no patch for a vulnerability yet?

If the vulnerability is serious and needs no login, deactivate the plugin temporarily or replace it. Some security services also offer virtual patches that block the attack until the author releases a fix.

Want to know whether your site is clean?

Run the free check: it takes less than a minute and needs no sign-up.

Run the check