Skip to content

Almost every serious WordPress compromise you read about begins in the same place: a plugin or theme that had a known weakness and had not been updated. The WordPress core software is reviewed by a large community and receives regular security releases. The thousands of extra plugins added by site owners are written by many different authors with very different habits, and they make up most of the real attack surface of a typical site.

The good news is that finding out whether you are exposed is not mysterious. Vulnerabilities in popular plugins are published in public advisories, and your site can tell you exactly what it runs. This article gives you a routine you can repeat every few weeks: build an inventory, compare it with public information, judge how serious each finding is, and choose between updating, replacing or removing. If you want the bigger picture of why this keeps happening, read why WordPress sites get hacked so often first, then come back here for the hands-on part.

What "vulnerable" actually means

A vulnerability is a flaw in code that lets someone do something the author never intended. In plugins the common categories are fairly consistent.

  • Cross-site scripting (XSS): the plugin prints input back to a page without cleaning it, so an attacker can run script in a visitor's or an administrator's browser.
  • SQL injection: user input reaches the database in a way that lets an attacker read or change data.
  • Broken access control: a function that should be limited to administrators can be called by anyone, or by any logged-in subscriber.
  • File upload and file inclusion flaws: the plugin accepts a file or path it should have rejected, which can lead to a malicious script being stored on your server.
  • Cross-site request forgery (CSRF): an administrator can be tricked into triggering an action by clicking a crafted link.
  • Information exposure: debug output, backups or configuration values become reachable from the web.

Not every vulnerability is equally dangerous. A flaw that needs an administrator login and a lot of luck is very different from one that lets an anonymous visitor upload a file. Advisories usually describe who can exploit the issue (unauthenticated visitor, subscriber, editor, administrator) and what the impact is. That single detail is the most useful thing to read when you decide how fast to act.

You will also see an identifier such as a CVE number, and a severity score. Scores are a helpful sorting tool, but they are an estimate made without knowing your site. Treat them as a starting point, not a verdict.

Step 1: Build an inventory of everything you run

You cannot check what you have not listed. Start by writing down every plugin and theme, including the ones that are switched off.

  1. Sign in to the WordPress dashboard and open the Plugins screen. Note the name, version and whether it is active.
  2. Open Appearance, then Themes, and note the active theme, any parent theme and any inactive themes.
  3. Look at the "Must-Use" and "Drop-ins" tabs on the Plugins screen if they appear. Hosts and developers sometimes place code there that does not show up in the main list.
  4. Open Tools, then Site Health, and read the Info tab. It summarises your WordPress version, PHP version, database version and the active plugins and themes. You can copy this for your records.
  5. Record where each plugin came from: the official directory, a commercial vendor, or a file someone sent you.

Put the result in a simple table. A spreadsheet is enough.

Item Version Active Source Last updated by author Notes
Form plugin 5.4 Yes Official directory Recent Handles contact form
Old slider 2.1 No Unknown file Several years ago Candidate for removal
Theme 3.0 Yes Commercial vendor Recent Child theme in use

The column "Last updated by author" is surprisingly valuable. A plugin that has not received a release for years is a risk even if no public advisory names it, because nobody will fix the next flaw when it is found.

Do not forget inactive plugins

An inactive plugin is not harmless. Its files are still on the server and some flaws can be reached by requesting the file directly, even when the plugin is switched off. If you do not plan to use it, delete it rather than leaving it deactivated.

Step 2: Check the inventory against public advisories

With your list in hand, look each item up. There are three practical sources, and you can combine them.

  1. The plugin's own page and changelog. The official directory shows the last update date, the versions tested with your WordPress version and the changelog. Phrases such as "security fix", "fixed a vulnerability" or "improved escaping" in a recent changelog tell you that a previous version had a weakness.
  2. Public vulnerability databases and advisories. Several security companies and independent researchers publish searchable lists of plugin vulnerabilities, with the affected version range and the fixed version. Search by the exact plugin name and compare the "affected up to" version with the one you run.
  3. The vendor's announcements. Commercial plugin vendors usually publish security notices on their site or email list. Make sure someone on your team receives those emails.

When you find a match, write down three things: the affected versions, the fixed version, and who can exploit it. If your version is lower than the fixed version, you are exposed.

A common trap is the name collision. Two plugins can have similar names, and an advisory for one is not about the other. Check the plugin's folder name (the slug) and the author before you conclude anything.

Use monitoring to save time

Doing this by hand every week is realistic for a small site, but it becomes tiring for a site with thirty plugins. A monitoring tool can compare your installed versions with a vulnerability database automatically and alert you. If you want to understand what that kind of service looks like in practice, see what WP Guardian is and how it helps monitor WordPress. Whichever tool you pick, keep the manual routine in your head, because it teaches you how to read an alert instead of simply trusting it.

Step 3: Judge how serious each finding is

Not everything on your list deserves the same panic. A short triage keeps you from either ignoring a real problem or breaking your site over a minor one.

Ask these questions about each finding.

  • Who can exploit it? An unauthenticated visitor is the worst case. A flaw that needs an administrator account is much lower risk, though still worth fixing.
  • Is the vulnerable feature in use on my site? Some flaws only matter if a particular module, shortcode or setting is turned on.
  • Is it reachable from the internet? Public pages and REST or AJAX endpoints are exposed to everyone. A tool that lives only in the admin area is behind a login.
  • Is there evidence of active exploitation? Advisories often say when attacks are being seen in the wild. That moves the item to the top of the list.
  • What would the impact be? Defacing a page, stealing customer data and taking over the whole site are very different outcomes.

Then sort the findings into three groups: fix today, fix this week, and schedule. This is the same reasoning you would use in any risk register, and it works well for a small business because it forces a decision.

Step 4: Decide between update, replace and remove

For every vulnerable item there are really only four options.

Situation Best action
A fixed version exists Back up, update on a staging copy if possible, then update the live site
No fix yet, feature not essential Deactivate and delete the plugin until a fix appears
No fix, feature essential Replace with a maintained alternative, or restrict access to the feature as a stopgap
Plugin abandoned for years Plan a replacement even if no flaw is listed

Updating safely

Before any update, make a backup you have tested restoring. Update one plugin at a time, then browse the site, test the forms and the checkout, and look at the error log if you can. Updating everything at once makes it hard to tell which change caused a problem. The reasoning behind regular updates is covered in why you should keep your WordPress theme and plugins updated, including how to build a rhythm that does not break things.

When there is no patch

Sometimes you must live with a known flaw for a short time. Reduce the exposure: deactivate the specific module, limit access to the admin area by IP address if your setup allows it, require two-factor authentication for every administrator (see CISA on multi-factor authentication), and watch your logs more closely. Do not treat these as a permanent answer.

Removing what you do not need

Every plugin you remove is one less thing to check. If a plugin was installed for a one-off task, such as a migration, remove it once the task is finished. Fewer plugins also means faster checks next time.

Step 5: Check whether you were already affected

If you find that you ran a vulnerable version for a while, updating is not the end of the story. The fix closes the door, but it does not remove someone who has already come in.

  • Look for administrator accounts you do not recognise on the Users screen.
  • Check recently modified files. Your host's file manager or a scanner can list files changed in the last few days.
  • Search your pages and database for unexpected links or script tags, especially in the header and footer.
  • Review scheduled tasks and the list of active plugins for anything you did not install.
  • Reset the passwords of administrators and any account used for database or hosting access.
  • If something is wrong, restore from a clean backup taken before the problem, then update and harden before bringing the site back.

A browser warning or a sudden change in search results can also be a signal. The basics of how browsers and servers talk to each other, including the status codes you may see in logs, are described in RFC 9110.

A worked example

Imagine a small clinic website that runs a booking form plugin, a gallery plugin, a caching plugin, a slider the previous designer installed, and a theme from a commercial vendor.

The owner builds the inventory and notices the slider has not been updated by its author for four years and is switched off. She deletes it. The gallery plugin shows version 3.2 and the changelog of 3.3 says "fixed a vulnerability that allowed a logged-in subscriber to upload files". The clinic lets patients register as subscribers, so this is a real exposure. She takes a backup, updates the gallery plugin on a staging copy, tests the pages and then updates the live site the same day.

The booking form plugin has a public advisory for an older version, but the clinic runs a newer one, so no action is needed other than noting the date. She then looks at the user list, finds no unknown administrators, and checks file modification dates, which look normal. The whole routine takes about an hour, and she writes the date and findings in the spreadsheet so that next month's check starts from a record.

Limits and what to watch for

  • Advisories lag behind reality. A flaw can be exploited before it is published. Public databases cannot warn you about problems nobody has reported yet, so a clean result is not proof of safety.
  • Coverage is uneven. Popular plugins are researched thoroughly; small or paid plugins sometimes are not. Absence of an advisory is not evidence of quality.
  • Version numbers can mislead. A plugin may keep its version number while a patched file is replaced, or a forked copy may report the same version as the original. Compare against the vendor's information when in doubt.
  • Premium and custom plugins may not appear in public lists. Ask the vendor how they announce security fixes, and keep their contact details.
  • Updates can break things. This is why staging and backups matter. Fear of breaking the site is the number one reason sites stay unpatched, so make updating a calm, practised routine.
  • Plugins are only one layer. Weak passwords, outdated PHP, a missing HTTPS setup and over-privileged accounts also matter. Using HTTPS is a basic hygiene measure; see what HTTPS is for background.
  • Scanners produce false positives. An alert is a prompt to investigate, not proof of compromise.

A simple schedule you can keep

Habits beat heroic efforts. A rhythm like this is realistic for a business site.

  1. Weekly: open the dashboard, look at the updates screen, and apply security updates after a backup.
  2. Monthly: repeat the inventory, compare it against advisories, remove anything unused and note plugins whose authors have gone quiet.
  3. Quarterly: review administrator accounts, remove old users, test a restore of your backup, and check that the domain, certificate and email for the site are still in order.
  4. Immediately: when you hear about a critical flaw in a plugin you run, move it to the top of the list.

That last item is easier when your supporting services are tidy. A domain whose renewal is tracked, a valid certificate and a mailbox that actually receives security notices all reduce the chance that a warning is missed. Pages such as domains and SSL certificates describe the basics of these services.

Summary

Checking for vulnerable WordPress plugins is a routine, not a one-off project. List every plugin and theme with its version and source, compare the list with the plugin changelogs and public advisories, judge each finding by who can exploit it and whether the feature is in use, and then update, replace or remove. Keep tested backups, update one item at a time, look for signs of earlier compromise, and remember that a clean scan is not proof of safety. A short monthly habit is worth more than an occasional panic.

If you are also tidying up the services around your site, you can look at the domains page to see what is available for your project.

Frequently asked questions

How often should I check my WordPress plugins for vulnerabilities?

A light check every week or two is a sensible habit for a business site, plus an immediate check whenever you hear about a serious issue in a plugin you use. Sites that change often, or that handle orders and personal data, benefit from a shorter interval.

Does an update always fix a vulnerability?

Usually the fixed version is the next release, but not always. Read the advisory to see which version is patched, confirm that you reached it, and be aware that some issues are never patched when a plugin is abandoned.

What should I do if a plugin has a known vulnerability and no fix yet?

Weigh how exposed the affected feature is. You can deactivate the plugin, disable the specific feature, restrict access, or replace it with a maintained alternative. Keep a backup before you change anything.

Is a plugin safe just because it has many installations?

No. Popularity makes a plugin a more attractive target and also means problems get found and fixed faster. What matters is how actively it is maintained and how quickly its authors respond to reports.

Can I check plugins without installing a security plugin?

Yes. You can list your plugins and versions by hand and compare them against public advisories. A scanner or monitoring service saves time, but the manual routine in this article works on any site.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Start your website the right way

Register a domain, add SSL and set up business email from one place.

.com registration from $18.81 for the first year

Start with a domain

Keep reading

Website Guides

Why Are WordPress Sites Hacked So Often?

WordPress is not weak by nature, but its popularity, plugins and habits make it a common target. See the main causes and a checklist that actually reduces risk.

9 min read

Website Guides

Why You Should Update Your WordPress Theme and Plugins Regularly

Updates close known security holes and keep your site compatible. See what each update type does, the risks of skipping them and a routine that rarely breaks anything.

9 min read

Website Guides

What Is WP Guardian and How Does It Help Monitor WordPress?

A WordPress monitoring tool watches versions, files, logins and availability. See what WP Guardian-style tools check, how to act on alerts and where their limits are.

9 min read