Most WordPress hacks are not clever. A bot finds a plugin that hasn't been updated, a password that was leaked somewhere else, or a login session it can ride, and it walks through the door. The site owner is usually the last to find out.

We host and manage 200+ WordPress sites, including political and advocacy organizations that draw targeted attacks. This page is the map: how WordPress sites actually get hacked in 2026, what we've seen on our own fleet this year, and where to go for the deeper dive on each threat.

"You don't have to be on anyone's threat list. You don't have to be a target. You don't have to be controversial. Your website can fall victim to a security attack even if you've never done anything controversial at all."

If you think your site is hacked right now, skip ahead to the signs below, or go straight to our guides on the pharma hack and the redirect hack, the two infections owners run into most.

Is WordPress Secure?

WordPress core is well maintained. Most of the risk lives in the plugins and themes added on top of it.

Patchstack's State of WordPress Security in 2026 counted 11,334 new vulnerabilities in the WordPress ecosystem in 2025, up 42% from the year before. Here's where they were:

Component Share of 2025 vulnerabilities Count
Plugins 91% about 10,300
Themes 9% about 1,020
WordPress core a rounding error 6, all low priority

That's about 31 new vulnerabilities a day, almost all of them in code someone other than the WordPress project wrote. And 46% of them had no fix from the developer at the moment they went public.

2026 added an asterisk. In July, a pair of core bugs nicknamed wp2shell let attackers take over unpatched sites without logging in. WordPress shipped the fix in versions 6.9.5 and 7.0.2 on July 17 and pushed it out through automatic updates. Attacks started within days, and CISA added the flaw to its list of known exploited vulnerabilities on July 21 (TechCrunch).

So is WordPress secure? The platform is about as secure as any widely used software gets. A WordPress site is only as secure as its least maintained plugin and its weakest login. That's the honest answer, and it's why the rest of this page is about what surrounds core, not core itself.

A WordPress site connected to many third-party plugins, illustrating the expanded attack surface from plugin dependencies

Why WordPress Sites Get Targeted

WordPress runs about 4 in 10 websites (W3Techs, November 2026). That makes it the most efficient target there is. An attacker writes one exploit for a popular plugin and can try it on millions of sites the same afternoon.

Here's what that looks like from our side. In a single three-day window this November, Cloudflare blocked more than 330,000 requests aimed at the sites we host, about 110,000 a day, and every one of our protected sites was blocked at least once. That counts outright blocks only. Nobody picked those sites. Scanners found them, and the smallest sites get hit as hard as the big ones; here's why small business websites aren't too small to hack.

The broader data says the same thing. The Verizon 2026 Data Breach Investigations Report found that exploiting a vulnerability is now the most common way attackers get in: 31% of breaches overall, and 26% for small businesses.

What attackers want is your server, not your content. A hacked site is useful as a phishing page, a spam platform, a malware delivery point, or one more machine in a botnet. In August 2026, Check Point Research mapped close to 2,000 compromised WordPress sites being used as shared criminal infrastructure, most of them running outdated core or plugins.

Targeted attacks are rarer, and they come with a public profile. Years ago, attackers went after a political action committee's donation page a few weeks before a national election, and the FBI got involved. That's the extreme end. If your organization takes public positions, our post on advocacy website security covers what changes.

Automated bots scanning across a grid of websites, targeting any site with a vulnerability regardless of size

How WordPress Sites Get Hacked

There's no single way in. Nearly every compromise we see starts in one of five places:

  1. Vulnerable plugins and themes, through bugs like broken access control, file uploads, SQL injection and cross-site scripting
  2. Unpatched WordPress core, rare but real in 2026
  3. Stolen passwords and sessions, through guessing, reused passwords, or a hijacked login
  4. Pirated and abandoned plugins, code with no one standing behind it
  5. Floods, spam signups and card testing, which abuse the site rather than break into it

Vulnerable Plugins and Themes

This is the most common door by a wide margin. Broken access control is one of the most exploited kinds of plugin flaw: a plugin function that forgets to check whether the person asking is allowed to do the thing. Close behind are file upload flaws that let an attacker drop their own code onto the server.

The older classics are still around. SQL injection tricks a form or URL into running database queries it shouldn't. SQL injection was the dominant threat early in my career, and half of wp2shell was one. Cross-site scripting (XSS) slips a script into a page so it runs in your visitors' browsers.

The fix for all of these is the same: update the plugin. What changed is the speed. Patchstack found that about half of high-impact WordPress vulnerabilities were exploited within 24 hours, and the most heavily targeted ones were under attack within hours of a fix being available. A monthly maintenance cycle can't keep up with that, and I explain what protects a site in the hours before an update in its own post. Our guides on updating WordPress safely and the cost of deferred updates cover the how.

Unpatched WordPress Core

wp2shell is the reminder that core can be the door too. Within days of the July fix, we were looking at three compromised sites on three different hosts, none of them sites we host. On one, the fix existed but had never been deployed to the live site. And patching it afterward didn't remove what the attackers had already planted.

That last part matters. An update closes the door. It doesn't evict whoever already came through it.

The same goes for the software underneath WordPress. The web server and PHP have their own patch cycle, owned by whoever runs the server, and November 2026 brought critical flaws in both Apache and nginx. We cover who patches that layer and what to ask your host in Apache and nginx vulnerabilities and your WordPress site.

Stolen Passwords and Sessions

Sometimes nobody breaks anything. They just log in.

Brute force attacks guess passwords. Credential stuffing tries passwords leaked from other sites' breaches. Both usually start with user enumeration, where WordPress hands over real usernames for free. And session theft skips the password entirely by riding a login that's already active.

Two examples from this year show both outcomes. A bakery brand's store we host took about 23,000 failed login attempts in three days, plus more than 100 guesses at where its admin login lived. Nothing got in. A national organization, before it moved to us, had someone guess at its default admin account slowly enough to stay under the lockout limit for about twelve weeks. Then a guess worked, and backdoors followed.

On the sites we host, we have no record of password guessing getting into an admin account. But lockouts alone don't stop a patient attacker. Two-factor authentication does, because the right password still isn't enough.

Pirated and Abandoned Plugins

Compromised WordPress plugins are a supply chain problem. The risk isn't only that a bug exists. It's that nobody may be around to fix it.

Nulled plugins are the worst version of this: paid plugins cracked and passed around for free, with the license check faked and, often, a backdoor added. We've found a cracked page builder on a site we took over, installed long before we arrived. Abandoned plugins are the quieter version. Six months without an update is a red flag to me. Check who's behind a plugin, how many sites run it, and when it last shipped a release.

Floods, Spam Signups and Card Testing

Some attacks don't break in at all. They overload or abuse the site.

DDoS attacks are bigger than ever: Cloudflare counted 47.1 million in 2025, more than double 2024. The giant floods are the easy part to absorb at the edge. What still causes trouble is low and slow traffic from thousands of addresses that each look ordinary.

Spam registrations start as a nuisance and end as a bloated database and a slow site. Card testing runs stolen card numbers through a payment form to see which ones work. A nonprofit's online payment form we host saw $785 in fraudulent charges approved in 105 minutes, with reCAPTCHA and a honeypot already in place. After we added an attempt cap and a minimum amount, the next rounds got zero approved.

What Attackers Do Once They're In

Getting in is step one. Staying in is the point. After a break-in, we typically find some mix of:

  • Rogue admin accounts, often with names that look like a service or a plugin
  • Backdoors disguised as plugins, hidden in the uploads folder, or tucked into must-use plugins that load on every request
  • SEO spam, injected pages or links that only search engines see (the pharma hack is the classic)
  • Redirects that send some visitors to scam sites while you see your normal site (our redirect hack guide covers why)
  • Spam mailers that use your server to send email

Backdoors are the reason partial cleanups fail. Sucuri's 2023 hacked website report found at least one backdoor on 49% of the infected sites it cleaned. Miss one and the site reinfects itself.

We clean hacked sites ourselves. We start from the server's access logs, find every request the attacker made, then check every file and database table against known-good copies. Scanners help, but they miss things and sometimes remove things they shouldn't. We've seen both. The first pass is never the last one.

Think Your Site Is Hacked Right Now?

Three signs show up again and again:

  1. Google shows something you didn't write. Spammy titles in search results, or a security warning in Search Console. See the pharma hack guide.
  2. Visitors say your site sent them somewhere else, and you can't reproduce it. See the redirect hack guide.
  3. Users, plugins or emails you don't recognize. An admin nobody created, a plugin nobody installed, or password reset emails nobody asked for.

Don't just update everything and call it fixed. As wp2shell showed, an update won't remove what's already there. What to do in the first hour, before anyone starts deleting things, is in our guide to WordPress malware removal.

What a Hack Costs

The emotional cost gets overlooked. Even when a site is a simple brochure with nothing worth stealing, the owner feels violated. "What did they take?" is always the first question.

The business cost depends on the organization: a few embarrassing days for a small business, reputational damage for a membership organization, lost donations at the worst moment for a campaign. The cost that hits everyone is search. If Google flags your site, you request a review after cleanup, and Google says that review can take from a few days to a few weeks. Speed is what keeps you off that list in the first place.

A website flagged with a security warning and dropped from search results after a compromise

"It's not a wait-and-see game where you clean up afterwards. It's a multi-layer approach to keeping it from happening in the first place. And then if it does happen, acting insanely fast so you don't end up blacklisted."

The Layers That Stop It

Security isn't one tool. It's a stack of layers, each catching some of what the others miss, and none catching everything:

Attack type Edge firewall Server WordPress itself
Floods and DDoS Yes Partly No
Password guessing Partly (rate limits, challenges) Yes (blocks repeat offenders) Yes (2FA)
Known plugin exploit Sometimes Sometimes Yes (the update)
Brand-new exploit Maybe Maybe No
Stolen password No No Yes (2FA)
Hijacked login session No No Limited
Malware after a break-in No Yes (scanning) Partly
Pirated or abandoned plugin No Sometimes Yes (replace it)

The edge. Every production site we host runs behind Cloudflare's enterprise firewall, which filters traffic before it reaches the server: known attack patterns, bad IP addresses, bot signatures, floods. Our Cloudflare for WordPress post explains how it works. But a firewall is not a security program, ours included. In Patchstack's 2025 test of host defenses against known plugin exploits, the best performer, a host using Cloudflare's firewall, still stopped only 4 of 11. Plugin bugs get closed by updating the plugin.

The server. Imunify360 runs on every server we manage. Its firewall holds roughly 800 IP addresses on its blocklist on a typical day, about nine in ten added automatically. It also scans every site overnight. On the day I checked, it reported zero infected files across the roughly 150 production sites with malware protection, and on those sites it cleans what it finds.

WordPress itself. Our own must-use plugin blocks username enumeration on every site we host. Two-factor authentication and a login challenge are available on request. And updates are where most of the work is: the sites we manage get plugin, theme and core updates on a weekly schedule, each tested on a copy first, with a visual check that holds anything that changes how a page looks for a person to review. In the last three months that came to more than 4,600 updates across 138 sites. Our WordPress security plugins hub covers where plugins fit, and where server-level security takes over.

Operations. Backups that actually restore, kept off the server, are the last line of defense against the vulnerability nobody has found yet. Our comparison of backup plugins and server-level backups explains why the difference matters.

This is the stack we run on the sites we host: managed WordPress security. If you want to know where your own site stands first, a professional security audit is the place to start.

"Anyone who's guaranteeing you 100% security is a fool."

Multiple concentric layers of security protection surrounding a WordPress website, from edge firewall to server to application level

What We've Seen in 2026

Here's the honest version of our record. No site we host has been breached through our servers. But a site we host was hacked this year, and I'd rather tell you about it than repeat a line that's no longer true.

I used to say we'd never had a redirect or pharma-style hack on a site we host. In August 2026, a nonprofit we host had one. Someone created an admin account from inside a site administrator's own logged-in session, so to our firewall it looked like a normal day's editing. Days later they used that account to show Google a gambling page in place of the homepage, while regular visitors saw the real site. We had it clean 21 minutes after the ticket came in, and Google re-crawled the clean page about 90 minutes later. I tell the full story, and what it says about "secure hosting," in why there's no such thing as a secure host.

No firewall stops a request that arrives with a valid login. That one case taught us more than a year of blocked bots, and it's why two-factor authentication is the first thing I recommend to anyone with an admin login.

The threats themselves have shifted over my career, from SQL injection to giant floods to today's mix of plugin bugs, stolen sessions and slow, quiet abuse. I wrote about that arc in 25 years of web security.

When Professional Security Management Makes Sense

Security isn't a one-time setup. It's weekly updates, watching for the signs above, and knowing what to do on the bad day. For organizations without technical staff, especially nonprofits, associations and advocacy groups, that's usually more than anyone in-house has time for.

If you're weighing your options, our WordPress security services page explains what's included, and our guide to professional security management covers how that differs from what a typical host handles.

FAQ

Is WordPress secure?

WordPress core is well maintained: Patchstack counted only 6 core vulnerabilities in 2025, all low priority, against 91% in plugins and 9% in themes. But a critical core flaw in July 2026 showed that core can be the door too, so a WordPress site is only as secure as its updates, its plugins and its logins.

How do WordPress sites get hacked?

Most get in through a vulnerable plugin or theme that hasn't been updated. The next most common ways are stolen or guessed passwords, hijacked login sessions, unpatched WordPress core, and pirated or abandoned plugins.

Can a security plugin stop my site from being hacked?

A security plugin is one layer, running inside WordPress itself. It can't stop a flood before it reaches your server, and it can't fix a vulnerable plugin. Our post on whether you need a security plugin goes deeper.

How do I know if my WordPress site has been hacked?

The common signs are spam in your Google results or a Search Console security warning, visitors being sent to other sites, and admin users, plugins or password reset emails you don't recognize. Hacks are often built to hide from logged-in owners, so a site that looks fine to you can still be infected.

Does updating WordPress remove a hack?

No. An update closes the hole an attacker used, but it doesn't remove the backdoors, rogue accounts or injected code they left behind. A hacked site needs a real cleanup, then the updates.