DrivenHost

Blog / security monday

What to do about abandoned WordPress plugins

An abandoned plugin keeps working long after its developer stops fixing it. Here is how to spot one on your site and replace it safely.

Most of the compromised sites we clean up were not running anything unusual. They were running a plugin that did its job for years and then quietly stopped being maintained. Nothing in the WordPress dashboard tells you that happened. The plugin still appears in your list, still works on the page, and still carries the same version number it had on the day the developer walked away.

Working code and maintained code are not the same thing

Code does not decay on its own. Everything around it moves instead. PHP gets new versions, WordPress changes its APIs, and the public record of what is broken in a given plugin version keeps growing.

That last part is what turns a dormant plugin into a real problem. Once a flaw in an unmaintained plugin is written up publicly, finding sites that still run it is trivial. The scanning we see in server logs is not thoughtful. It is a long list of known paths requested against every site in an IP range, over and over, waiting for one to answer. An abandoned plugin with a published flaw answers.

How to spot one on your own site

Open Plugins in wp-admin and click "View details" on each one. That opens the plugin's page on WordPress.org, where two things matter more than the description.

The first is the last-updated date. A gap of a year or more on an actively used plugin is worth a second look. The second is any coloured notice at the top of the page. WordPress.org puts a yellow warning on plugins that have not declared support for the last three major WordPress releases, and the developer clears it by updating the "Tested up to" value in the plugin readme. A yellow notice on its own is not an emergency, but combined with a stale changelog and a support forum full of unanswered threads, it tells you where the project stands.

While you are in there, note which plugins you actually use. Plugins kept around for one feature on one page are the ones most likely to go stale without anybody noticing.

When the notice is red instead of yellow

A red notice is different. It reads "This plugin has been closed and is no longer available for download", and for closures after January 2018 it shows the date. After 60 days the notice is updated with a short reason, though the full detail only goes to the plugin author and the WordPress.org security team.

Security problems are the most common reason a plugin gets closed, so treat red as a prompt to act rather than something to read later. Worth knowing: closing a plugin stops new downloads. It does nothing to the copy already installed on your site. Your site will keep running that code until somebody removes it, and no update notice will ever arrive, because there is nothing left to update from.

Replacing it without breaking your site

Take a backup first, and if the plugin touches anything a customer sees, do the swap on a staging copy rather than the live site. A backup is a few clicks in cPanel on any of our hosting plans, and it turns a nervous change into one you can undo.

Then work in two steps. Deactivate the old plugin and click through the pages it affected, looking for empty blocks, broken layouts and leftover shortcodes. If everything holds up, delete it. Deactivating is not removal. The files stay on disk, and in some cases a file inside a deactivated plugin can still be requested directly over the web, which means the flaw is still reachable. Deleting the plugin is what actually closes that door.

Finding a replacement is its own small job, and it is worth doing properly rather than installing the first result. We wrote about what to look at before you trust a plugin in is this WordPress plugin safe. Sometimes the honest answer is that you no longer need the feature at all, which is the cheapest fix available.

Keep it to a short routine

This does not need to be a project. Twice a year, go down your plugin list and check the dates and notices. Remove what you are not using. Keep the rest current, for the reasons we covered in why updates matter. Ten minutes of reading is usually enough to catch the one plugin that stopped moving two years ago.

If you are not sure whether something on your site is still maintained, or you want a second opinion before pulling a plugin out, send us the plugin name through support and we will tell you what we can see it doing on the server. That is the sort of thing we would much rather look at before a site breaks than after.

Sources

security mondaywordpressplugins

← All posts

No sales team. No scripts.

Tell us what you're running.
We'll tell you what it needs.

Migrations are free, quotes are written, and the engineer who replies is on the team that will run your server.