A WordPress plugin that worked great in 2021 and has not been updated since is not “stable.” It is abandoned. The author moved on, the support email bounces, and the next time a security researcher looks at it for fifteen minutes they will find a vulnerability and publish a CVE. By the time you read the disclosure, every credential-stuffing bot on the internet already has the exploit. Across a WordPress fleet, knowing which plugins are abandoned matters more than knowing which plugins have a CVE today — because the CVE you have not been told about yet is the one that lands when you are on vacation.
What’s happening
The WordPress.org plugin directory publishes the “last updated” date and “tested up to” version for every plugin. An abandoned plugin shows three signals: last updated more than 24 months ago, tested-up-to version more than two WordPress major versions behind current, and no response from the author to recent support-forum threads. Premium plugins (sold outside WordPress.org) are harder to assess because there is no public update history, but the same triage applies: when was the last release; does the vendor still exist; is anyone answering support tickets.
The audit work is gathering this data per-plugin per-site across the fleet, producing a list ranked by abandonment risk, and deciding what to do with each one. The decisions are: keep (recent updates, active author), replace (an alternative plugin exists with the same function), remove (the functionality is no longer needed or can be implemented in theme code), or quarantine (the functionality is needed, no replacement exists yet, the plugin gets virtual-patched or WAF-walled until something changes).
How to verify
Inventory plugins on a site and pull the abandonment signals from WordPress.org:
# Per-site plugin list
wp plugin list --fields=name,version,status,update,update_version --format=csv > plugins.csv
# For each plugin, get the WordPress.org metadata
for plugin in $(wp plugin list --field=name --status=active); do
curl -s "https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&slug=$plugin" | \
jq -r --arg p "$plugin" '. | "\($p)|\(.last_updated)|\(.tested)|\(.active_installs)|\(.author)"'
done > plugin-metadata.txt
The output gives you each plugin’s last-update date, tested-up-to WordPress version, active install count, and author. Sort by last_updated date:
sort -t'|' -k2 plugin-metadata.txt | head -20
Anything updated more than 24 months ago is on the abandonment shortlist. Compare against your fleet:
# Across the fleet — which sites have which abandoned plugins
for site in $(cat sites.list); do
wp --path=/var/www/$site plugin list --field=name --status=active --format=json | \
jq -r --arg s "$site" '.[] | "\($s),\(.name)"'
done | sort -t, -k2 | join -t, -1 2 - <(awk -F'|' '{print $1","$2}' abandoned-plugins.txt)
The result is a CSV of (site, plugin, last-updated-date). The same plugin appearing across many sites is high-leverage to address.
The fix
Run the audit, produce the list, work the triage.
-
Pull the data weekly. Same script as in How to verify, but cron’d. The output goes to a dashboard or spreadsheet that the fleet operator reviews. Plugins that drop into the “more than 24 months without update” category get flagged.
-
Categorize each plugin by what it does. A plugin’s function determines how easy it is to retire:
- Cosmetic (custom admin colors, login logo) — remove without replacement.
- Single-feature wrappers (a plugin that does one shortcode you could write in 20 lines of theme code) — replace with theme code, remove plugin.
- Functionality with a clear successor — there is a modern, maintained plugin that does the same thing. Replace.
- Functionality with no clear successor — quarantine. Apply virtual patches, WAF rules around the vulnerable endpoints, and put the plugin on a roadmap for replacement within a defined window.
- Premium plugins with annual licenses — check the vendor’s pulse. Active blog, active support forum, recent product releases. If yes, the plugin is maintained even if WordPress.org does not see updates. If no, treat as abandoned.
-
Document the decision. Each abandoned plugin gets a record:
- Plugin name and slug.
- Last update date.
- Affected sites in the fleet.
- Decision (keep / replace / remove / quarantine).
- If quarantine: the WAF rule or virtual patch in effect.
- If replace: the successor plugin and the migration ticket.
- If remove: the date and the change ticket.
-
The quarantine workflow. For functionality you need and cannot easily replace, the plugin stays installed under restriction:
// mu-plugins/quarantine-abandoned-plugin.php // Block direct access to the plugin's admin endpoints add_action('init', function () { if (is_admin() && !current_user_can('administrator')) { if (strpos($_SERVER['REQUEST_URI'], '/wp-admin/admin.php?page=abandoned-plugin') !== false) { wp_die('Plugin endpoint quarantined', 403); } } });At the WAF level, block the plugin’s REST endpoints, admin-ajax actions, and any other request signature you can identify. The plugin still runs for the specific page or shortcode that uses it; everything else is closed.
-
Replacement projects on a calendar. A quarantine that never gets resolved is a permanent vulnerability. Each quarantined plugin has a “replace by” date, usually 90 days out. The replacement is a real ticket with an owner. If 90 days passes and no replacement is shipped, escalate; the quarantine extension is logged and dated.
-
Audit the audit quarterly. The fleet of abandoned plugins should shrink, not grow. If it grows quarter over quarter, the abandonment is faster than your replacement velocity, which is its own problem (under-resourced platform team, plugins being added without governance, etc.).
A WordPress fleet that audits abandoned plugins is a fleet where the next CVE-in-an-abandoned-plugin is a tracked replacement project, not a fire drill. Stack Harbor runs this audit as part of Enterprise WordPress operations, with the quarterly audit producing a documented decision per plugin and the replacement tickets on the platform team’s roadmap. If your WordPress fleet has more than five plugins per site and nobody can tell you which ones are abandoned, book a plugin audit.