WordPress itself is rarely how a site gets hacked. In 2025, security researchers reported 11,334 new vulnerabilities in the WordPress ecosystem, 42% more than the year before. Only six were in WordPress core, and those were low priority. The rest were in the plugins and themes that sites add on top.
This guide explains where the risk really comes from, using Patchstack’s annual report on WordPress security, and what a site or store owner can do about it without becoming a security expert.
Plugins are the attack surface
91% of the new vulnerabilities in 2025 were in plugins, and 9% were in themes. Every plugin is separate code from a separate developer, with its own quality, its own update schedule and full access to your site. A site with 30 plugins is trusting 30 sets of code to be written carefully and kept up to date.
Not every vulnerability is an emergency. Patchstack rated 36% of the 2025 reports as a real threat and 17% as likely to be exploited in automated, mass-scale attacks. But nobody knows in advance which plugin will be next, and attackers scan for vulnerable versions automatically.
Attackers move in hours
For the most heavily exploited vulnerabilities, the weighted median time from public disclosure to the first attack was five hours. About half of high-impact vulnerabilities were exploited within 24 hours. Checking for updates once a week leaves a long window.
It gets worse: 46% of vulnerabilities had no fix from the plugin developer by the time they were made public. For those, updating isn’t an option yet. The only choices are to disable the plugin, block the attack some other way, or wait.
Old vulnerabilities don’t go away either. Patchstack’s list of the vulnerabilities it saw attacked most in 2025 still included a 2023 flaw in the WooCommerce Payments plugin. Attacks keep coming for as long as sites keep running the old version.
Recent vulnerabilities, explained
- The most-attacked WordPress vulnerabilities of 2026: the top ten had all been fixed already, some years earlier.
- The 2023 WooCommerce Payments flaw that still drew 12.6 million attacks in one quarter of 2026.
- PHP2Shell (CVE-2026-109618): critical PHP flaws from October 2026 that affect every WordPress site until its server is updated.
Your host’s firewall won’t catch most of it
In Patchstack’s tests against popular hosting companies, standard network and server defences blocked only 26% of attacks on WordPress vulnerabilities. Those defences look for generic attack patterns. A vulnerability in one plugin’s settings page often doesn’t look like an attack at all. Good hosting matters, but it doesn’t replace keeping plugins in order.
Don’t forget PHP
Underneath WordPress is PHP, and its versions have end dates too. PHP 8.2 stops getting security fixes on December 31, 2026. By WordPress.org’s own figures, more than half of WordPress sites will then be running a PHP version with no security support. Our PHP 8.2 end-of-life guide shows how to check yours and upgrade safely.
What’s different for WooCommerce stores
A store has everything a WordPress site has, plus more at stake:
- More plugins. Payments, shipping, invoices, subscriptions and marketing each tend to bring a plugin, and each one is part of the attack surface.
- Customer data. Names, addresses, order histories and account logins all sit in your database. A breach is a problem for your customers, not just for your website.
- Card details. Use a payment provider that collects card numbers in its own hosted fields, so they never pass through your server. Most modern gateways work this way. It’s worth confirming yours does.
- Admin accounts. Store staff often share logins or keep accounts after they leave. Every account with access to orders is a way in.
What to do about it
- Remove plugins you don’t need, including deactivated ones. Deactivated plugins still sit on the server, and their files can still be reached.
- Replace abandoned plugins. If a plugin hasn’t been updated in a year, or has been closed on WordPress.org, plan its replacement now.
- Update fast. Turn on automatic updates for plugins you trust, or use a service that watches for new vulnerabilities in what you run and tells you, or blocks them, the same day.
- Keep PHP on a supported version, and WordPress on its current release.
- Lock down accounts: one account per person, two-factor sign-in for anyone with admin or shop-manager access, and remove people who have left.
- Keep off-site backups and test a restore. A backup you have never restored is a hope, not a plan.
- Know when something changes. New admin users, changed files and new plugins should never be a surprise.
When keeping up becomes the job
For most sites, the list above is a few hours of cleanup and a habit. For some stores it becomes a weekly chore: dozens of plugins, updates that break checkout, and nobody sure what each plugin does. That’s a sign the platform is working against the business. Sometimes the answer is a cleanup, and sometimes it’s a move to something with fewer moving parts.
A WooCommerce store audit or WordPress website audit reviews every plugin, the theme, PHP, accounts and hosting, and tells you which situation you’re in. If it’s time to move, our guide to leaving WooCommerce explains how that works.
Common questions
Is WordPress secure?
WordPress core has a strong security record. In 2025 it had six reported vulnerabilities, all low priority. How secure a WordPress site is depends mostly on its plugins, its theme, its PHP version and how quickly they’re updated.
Is a security plugin enough?
It helps, but it is one more plugin, and it can’t fix a vulnerability that has no patch. Fewer plugins and fast updates do more.
How do I know if my site has already been hacked?
Common signs are admin users you don’t recognize, redirects to other sites, spam pages in Google results for your domain, and warnings from your host or browser. If you see any of these, change every password and get help cleaning the site before restoring anything.