WordPress itself is rarely the problem. The plugins are. Patchstack’s State of WordPress Security in 2026 report found 11,334 new vulnerabilities in the WordPress ecosystem during 2025, up 42% on the year before, and 91% of them were in plugins. Only six were in WordPress core.
Most of those plugins are written in PHP, and most of the flaws are classic PHP mistakes: missing permission checks, unsanitised input and unsafe file handling. Here is what the data says and how to keep your site off the list of victims.
The numbers that matter
| Finding (2025) | Figure |
|---|---|
| New WordPress ecosystem vulnerabilities | 11,334 (up 42%) |
| Share in plugins / themes | 91% / 9% |
| Vulnerabilities in WordPress core | 6, all low priority |
| No developer fix at public disclosure | 46% |
| Median time to mass exploitation (heavily exploited flaws) | 5 hours |
| Most exploited category | Broken access control |
Two figures stand out. Almost half of vulnerabilities had no fix available when they became public, so “just update” is not always possible. And the heavily exploited ones were being attacked at scale within hours.
Why plugins go wrong
- Broken access control: a plugin action that should be admin-only can be triggered by any logged-in user, or by anyone at all.
- Cross-site scripting and injection: input from forms or URLs is stored or used without being sanitised.
- Unsafe file uploads: a form accepts a PHP file disguised as an image.
- Abandoned code: the developer stops maintaining the plugin, but thousands of sites keep running it.
- Premium plugins: Patchstack found premium components had three times as many known exploited vulnerabilities as free ones, partly because they update outside WordPress.org.
How many plugins is your site running?
We audit WordPress sites, remove risky or abandoned plugins, replace them with safer options or custom code, and keep everything patched.
A plugin security routine for business sites
- Cut the list. Every plugin is code running on your server. Remove anything inactive or nice-to-have.
- Check maintenance before installing: last update date, active installs, support responses and compatibility with your PHP version.
- Update weekly, and turn on auto-updates for minor and security releases on well-maintained plugins.
- Subscribe to vulnerability alerts through a service such as Patchstack or Wordfence, so you hear about flaws in plugins you use.
- Use virtual patching or a WAF to cover the gap when no fix exists yet. Patchstack found traditional host defences blocked only a small share of WordPress-specific exploit attempts in its tests.
- Keep PHP current. A supported PHP version closes server-level holes like PHP2Shell.
- Limit admin accounts and require MFA for everyone who can install plugins.
When to replace a plugin with custom code
If you rely on a large plugin for one small feature, such as a form field, an API connection or a simple calculator, a few dozen lines of well-reviewed custom code can be safer than thousands of lines of someone else’s. It also stops the feature breaking when the plugin changes direction.
FAQ
Is WordPress insecure?
No. Core WordPress had only six low-priority vulnerabilities in 2025. Risk comes mostly from plugins, themes and how sites are maintained.
How many plugins is too many?
There is no magic number. Ten well-maintained plugins are safer than three abandoned ones. Focus on quality and maintenance.
Are paid plugins safer?
Not automatically. Patchstack’s data suggests premium components carry more known exploited vulnerabilities, so vet them just as carefully.
Want a safer WordPress site?
We maintain and harden WordPress sites for Brisbane businesses, including PHP upgrades and plugin reviews.
