A customer tells you that your website shows casino articles or a “Hacked by” page, even though no one has touched it in months. The hosts and agencies that answer this question online list causes without a sourced figure or a date. We checked these causes against published studies and against 109 hacked websites we recorded in October 20261.
When the cause of a hack is known, it is most often a plugin or a password, rarely WordPress itself. Updating reduces the risk without eliminating it, because bots attack some vulnerabilities before a fix even exists.
WordPress core is rarely the way in
Nine vulnerabilities in ten affect plugins
WordPress core, meaning the software you install before any plugin, has few vulnerabilities compared with everything added around it. Patchstack, a security company that sells protection against these vulnerabilities, recorded 11,334 of them in 2025. Plugins account for 91%, themes for 9% and the core for only six2.
Likewise, WPScan, the vulnerability database of Automattic, the company behind WordPress.com, counted 13 in the core out of 5,271 in 20233. So when people call WordPress insecure, they mostly mean plugins and themes.
Hackers do, however, target widely used software more, as three researchers at Southern Methodist University in Dallas found. On .com websites hacked between 2011 and 2013, each doubling of the number of servers running a piece of software raised the risk of being hacked by 9%4. A WordPress website is thus more exposed than a website built with an uncommon tool, even though the study does not measure the quality of WordPress code.
The websites in our survey ran a recent WordPress
In October 2026, we recorded 109 hacked websites, 101 of them built with WordPress, mostly by searching Google for pages titled “Hacked by”1. This survey is not a sample of the Web, so we cannot draw the frequency of each case from it.
Of the 70 WordPress websites whose version we could read, 69 ran WordPress 6.9, 7.0 or 7.1, all released between December 2025 and August 20265. Only one still used a version from 2021.
A recent version doesn’t prove that anyone was maintaining these websites. Since version 5.6, at the end of 2020, a newly installed WordPress website moves to new versions on its own6. From the outside, we also only read the main version number, without knowing whether the latest patch was installed.
The plugins found on these websites are among the most installed: Elementor on 37 websites, Contact Form 7 on 19 and WPBakery on 181. We don’t know how the hacker got into each of these websites, so we cannot blame any of these plugins.
Each plugin adds a possible way in
The risk grows with the number of plugins
In the Dallas study, each added plugin raised the risk of a WordPress website being hacked by 11%, between websites that differed only on this point. MM Forms Community, a forms plugin hit by two vulnerabilities published in 2011 and 2012, even multiplied this risk by 264. These data are more than ten years old, but the mechanism hasn’t changed: each plugin brings code that its author must fix as soon as a vulnerability appears in it.
In 2026, a team from the University of California, Santa Barbara and Google tracked 846,067 WordPress websites for nearly three months. The researchers found a known vulnerability in 3.4% of plugins and themes, while these components accounted for 72% of the installations observed7. We see this as a sign that a popular plugin gets more scrutiny than others, both from those who fix it and from those who try to attack it.

A serious vulnerability can be attacked a few hours after it is published
Patchstack measured the delay between the publication of a vulnerability and the first attack attempt: for half of the vulnerabilities attacked, it is no more than five hours. Nearly half of serious vulnerabilities face an attack attempt within 24 hours. On the day they were published, 46% of the vulnerabilities had no fix2.
Patchstack does not say how many of these attempts succeeded. The company, which sells protection that kicks in before the update, also has an interest in stressing this delay. Still, an owner who updates once a week often arrives after the first bots.
Conversely, six of the ten most attacked vulnerabilities in 2025 dated from previous years2. Bots thus go after websites that haven’t been updated in a long time.
A safe plugin can become dangerous
A plugin installed from the official WordPress directory can change hands. Researchers at the Georgia Institute of Technology in Atlanta found 131 malicious plugins and themes in the official directories between 2012 and 20208.
For example, a spammer bought several plugins starting in 2016, then updated them to spread his spam for four and a half years8. The update, which the owner installed for protection, then brought in the code of the spammer.
A plugin abandoned by its author no longer receives any fixes. In 2016, Wordfence, the maker of a security plugin, advised avoiding plugins that had not received any update in more than six months9. After that time, replace the plugin if its author no longer publishes fixes, so you don’t keep a vulnerability that no one will close.
Developers who repair hacked websites cite a similar case, a slideshow bundled with a commercial theme. It was only updated along with the theme, so some websites kept a vulnerable version for years.
Finally, a fix can go unnoticed. The Santa Barbara team found a vulnerability in the AddToAny sharing plugin that was fixed without a CVE number, the public identifier for vulnerabilities7. Security tools that track these numbers could not warn owners who kept the old version.
Hackers also get in through a password or a forgotten website
In 2016, Wordfence ran a survey on WordPress website hacks. Six in ten owners of hacked websites didn’t know how the hacker had gotten in. Those who thought they knew blamed a plugin in 56% of cases and a password guessed by bots in 16%. WordPress core only came third, with about 7.5%9.
So these percentages only cover a minority of cases, those where the owner or their contractor could trace the path. With a password, the hacker gets into the admin area without having to look for a vulnerability.
In its report on 2024, Sucuri, the security company owned by GoDaddy, notes a rise in credential theft by spyware10. Companies that clean up hacked websites describe this case: an administrator clicks a booby-trapped link, then the hacker logs into the website with their credentials. According to these companies, the hack comes back after each cleanup until two-factor authentication, a code read on the phone in addition to the password, is turned on.
In our survey, the casino articles published on one website in October 2026 were signed by the administrator account that had published its legal notice there in 20241. Likewise, a developer says he took over a client’s website without deleting his predecessor’s old account. The hacker got in through that account. We advise protecting every administrator account and deleting those that no one uses anymore.
Old versions of a website and test websites left on the same hosting account open another way in. One administrator thus found the file a hacker had dropped in a folder that kept, next to the website, its old WordPress installation. No study has put a figure on this cause, but a hacker who gets in through one of these websites can reach the other websites on the same account.
Paid plugins downloaded for free are almost all booby-trapped
A paid plugin downloaded for free from a sharing website, called “nulled”, almost always contains a trap. The Georgia Tech team studied the backups of 410,122 WordPress websites, customers of a backup service. Among the nulled plugins it found there, 97% contained malicious code8.
Yet WPScan only finds them on 1.5% of compromised websites among its customers in 2023, while its own summary lists them among the leading causes3. Conversely, companies that clean up hacked websites claim that most of the hacks they handle come from nulled plugins, without publishing their figures. For an owner who installs a nulled plugin, the trap is in any case almost certain.
The content hackers publish on a website
Two aliases sign three quarters of the websites recorded
The hackers had signed 82 of the 109 websites recorded with an article or a page titled “Hacked by” followed by an alias. Two aliases signed 80 of these 82 websites1. We found both together on 22 websites.
This share comes partly from our method, because we searched Google for the words “Hacked by”. In our view, bots try the same vulnerability on a large number of websites and publish the hacker’s page wherever the vulnerability works.

The hackers had also published pages for online casinos (33 websites), drugs (12) or adult content (4), sometimes next to their signature1.
Sucuri finds the same content on a much larger scale. In 2024, its public scanning tool detected search engine spam on 422,741 websites, mostly pages in Japanese and casinos10. According to owners of hacked websites, hackers hide links and hundreds of pages outside the menu there to push their own websites higher in Google.
Spam the owner doesn’t see
Some hackers hide their spam from the website owner so it won’t be removed. On three websites in our survey, fake product pages only appeared to Google’s crawler, a technique called cloaking1. So the owner who opens the website in a browser sees nothing.
Antivirus software detected only a small share of the code injections tracked by the Santa Barbara team. None of the antivirus engines gathered by the VirusTotal service spotted 18 of the 20 campaigns during the entire study7. The page What should I do if my website has been hacked? explains how to check your website with Google Search Console and a Google search.
Owners put off updates when no one is in charge of them
In Germany, in 2021, 24% of WordPress websites whose version was visible had had an update pending for at least six months. Businesses owned 58% of these websites. Researchers at CISPA, a German public research center for IT security, interviewed 19 owners of these websites and 9 Web professionals to understand this delay11.
For the authors, the delay comes first from how little importance owners give their website. A Web professional interviewed by the researchers offers security updates to his clients. Some of them reply: “I’m just a dog groomer, nobody cares about my website”11.
Most owners, 15 out of 19, handed part of the work to someone else, a diluted responsibility that the authors list among the causes of the delay. And 11 of them feared that an update would break the website, for example by making a plugin unusable11.
The researchers conducted only 19 interviews, so their figures can’t tell which reason is the most common in Germany. Our takeaway is that the delay comes as much from organization as from technology.
Automatic plugin updates are up for debate
Since version 5.5, released in 2020, WordPress lets you turn on automatic updates plugin by plugin. It then checks for a new version twice a day and installs it. These updates stay off until the administrator chooses them12.
Supporters of these updates point out that attacks begin within hours of a vulnerability being published. A fix installed within half a day lets the fastest bots through but closes the vulnerability before those of the following days.
Opponents fear that an update will break a page without anyone noticing. WordPress itself advises being able to roll back to a previous version of the website before turning on these updates12.
Both fears are well founded, but the risk of an attack seems greater to us than that of a broken page. We think automatic updates should become the rule for common plugins, with a backup made every night and kept off the server.
A page builder, an online store or a hand-modified plugin, on the other hand, warrants a supervised update. A designated person installs it within two days of a security fix.
Most infected websites are never cleaned up
Among the infected websites the Georgia Tech team followed until 2020, only 10.8% had attempted a cleanup. One in eight cleaned websites was reinfected. At the end of the Georgia Tech study, more than 94% of the infected websites were still infected8.
A cleanup that leaves the hacker’s way in open doesn’t protect against a second hack. In the Dallas study, fewer than 5% of the WordPress websites hacked in 2014 were updated afterward. Those were hacked again during the follow-up in 17% of cases, roughly half as often as the websites left as they were (33.5%)4.
Accounts from owners point the same way. One of them, several of whose websites had been hacked through a Bricks Builder vulnerability in 2024, first removed the infection by hand and saw it come back. He had to restore clean backups, change all his passwords and remove from Google Search Console an owner added by the hacker.
On our second check, we found no trace of the hack on 30 of the 109 websites recorded. For half of them, our second check took place no more than eight days after the first1. We don’t know whether the owners of these websites found the hacker’s way in or simply deleted the pages.

Eight measures reduce the risk without switching tools
We rank these measures by the causes that studies have quantified, then by our experience. Backups and Google Search Console don’t prevent a hack, but they limit the damage of an attack.
| Measure | Risk avoided | Evidence |
|---|---|---|
| Delete unused plugins and themes | A vulnerability in a plugin you don’t need | Each plugin raised the risk by 11% (Dallas, websites hacked from 2011 to 2013)4 |
| Turn on two-factor authentication for every administrator account | A guessed or stolen password | Second known cause in 2016 (Wordfence)9; credential theft rising in 2024 (Sucuri)10 |
| Turn on automatic updates for common plugins | Attacks in the first few days | Nearly half of serious vulnerabilities attacked within 24 hours (Patchstack)2 |
| Never install a nulled plugin | Malicious code from the moment of installation | 97% of nulled plugins booby-trapped (Georgia Tech)8 |
| Replace a plugin whose author no longer publishes fixes | A vulnerability that is never fixed | Wordfence advice (2016)9 |
| Delete unused accounts and old websites on the same hosting | An access that no one uses anymore | Our opinion, with no quantified study |
| Keep a nightly backup off the server | A website lost or cleaned blindly | WordPress advises being able to roll back12; the frequency and location are our advice |
| Add the website to Google Search Console and check its list of owners | A hack discovered weeks later, a hacker who keeps control | Google reports security issues there13 and warns that the hacker usually adds themselves as an owner14 |
One host whose advice we read recommends changing the database table prefix. This setting can hinder the simplest bots, but none of the studies we read links it to a prevented hack. It replaces none of the measures in the table.
If a contractor looks after your website, agree in writing on who does the updates and how often. The CISPA researchers met owners and contractors who each thought the other was handling it11.
Protect your WordPress website by installing fewer plugins
For an owner who keeps WordPress, the surest way to reduce the risk is to have less to watch. With fewer plugins, one account per person protected by two-factor authentication and someone designated for updates, you close the most common ways in.
Every month, type site:yourdomain.com into Google, the search that lists the pages of your website that Google knows, to spot a hack before your customers do. And the day a plugin seems essential to you, ask yourself who will update it for the whole life of the website.
Sources
- ↑ Lovely Render, survey of 109 hacked websites found in Google in October 2026, mostly through the “Hacked by” search, checked on their public pages and rechecked until November 9, 2026. The websites are not named.
- ↑ Patchstack, “State of WordPress Security In 2026”, white paper on 2025 data, updated February 25, 2026. Patchstack sells protection against plugin vulnerabilities.
- ↑ Jetpack and WPScan Security Research Team (Automattic), “WPScan 2024 Website Threat Report”, report on 2023, March 15, 2024.
- ↑ Marie Vasek, John Wadleigh and Tyler Moore, “Hacking is not random: a case-control study of webserver-compromise risk”, submitted version of the article published in IEEE Transactions on Dependable and Secure Computing, vol. 13, no. 2, 2016.
- ↑ WordPress.org, “Releases” and December 2025 announcements, pages accessed November 17, 2026.
- ↑ WordPress.org, “Core major versions auto-updates UI changes in WordPress 5.6 (Correction)”, November 24, 2020.
- ↑ Ravindu De Silva, Nicholas Shao, Mingxuan Yao, Yigitcan Kaya, Yanick Fratantonio, Luca Invernizzi, Christopher Kruegel and Giovanni Vigna, “From Payload to Plugin: Web-Scale Ecosystem Attribution of JavaScript Injection Campaigns”, ACM CCS ’26, November 2026.
- ↑ Ranjita Pai Kasturi et al., “Mistrust Plugins You Must: A Large-Scale Study Of Malicious Plugins In WordPress Marketplaces”, 31st USENIX Security Symposium, August 2022.
- ↑ Dan Moen, “How Attackers Gain Access to WordPress Sites”, Wordfence blog, March 23, 2016. Survey of 1,032 respondents.
- ↑ Denis Sinegubko and Rodrigo Escobar, Sucuri (GoDaddy), “SiteCheck Malware Trends Report 2024”, 2025.
- ↑ Maria Hellenthal, Lena Gotsche, Rafael Mrowczynski, Sarah Kugel, Michael Schilling and Ben Stock, “The (Un)usual Suspects: Studying Reasons for Lacking Updates in WordPress”, NDSS Symposium 2025, February 2025.
- ↑ WordPress.org, “Plugin and themes auto-updates”, documentation updated January 13, 2023.
- ↑ Google, “Security Issues report”, Google Search Console Help, accessed November 17, 2026.
- ↑ Google, “Fix the Japanese keyword hack”, web.dev, accessed November 17, 2026.
