WordPress core is well maintained and updates itself. Most hacked WordPress sites are broken into through something else: a theme or plugin with a flaw that was fixed months ago but never updated on that site. Widely used commercial themes such as Avada, with page builders and many bundled features, have had serious vulnerabilities over the years, and every one of them was exposed on the thousands of sites that did not update. Attackers scan for these within hours of a fix being published. This guide covers why your site is a target and the steps that keep it safe.
Why themes and plugins are the weak point
A modern theme is a large application: a page builder, form handlers, import tools, shortcodes and AJAX endpoints, often written by a small team and bundled with other plugins. Each feature is code that runs on your server and accepts input from visitors. One flaw, such as a missing permission check or an unsafe file upload, can let an attacker run code or create an admin account.
Premium themes add a specific problem. Updates often come through the vendor's licence system rather than WordPress.org, so sites bought through an agency or with an expired licence quietly stop receiving them. Nulled copies of paid themes, downloaded from unofficial sites, frequently arrive with a backdoor already installed.
Why attackers want a small business site
Your site does not need valuable data to be worth hacking. Compromised WordPress sites are used to host phishing pages, spread malware, send spam, redirect visitors to scams and add hidden links for search engine manipulation. Some become part of the infrastructure for larger campaigns, loading malicious scripts into every visitor's browser. The owner often learns of it from a customer, a Google warning in search results or a hosting suspension notice.
The controls that matter most
These cover the routes used in most WordPress compromises.
- Turn on automatic updates for plugins and themes, and keep premium licences active so updates keep arriving.
- Remove every inactive plugin and theme. Deactivated code can still be exploitable if its files are on the server.
- Buy themes and plugins only from the vendor or WordPress.org, never from nulled download sites.
- Use two-factor authentication for every administrator and limit the number of admin accounts.
- Run a web application firewall, through your host, a CDN such as Cloudflare, or a security plugin, to block common exploit attempts while you patch.
- Disable file editing in the dashboard and block PHP execution in the uploads folder.
- Keep daily backups stored off the server, and test a restore.
Choose hosting that helps
Your host decides a lot of your security before you install anything. Look for a supported PHP version with automatic minor updates, isolation between the sites on a server, a web application firewall in front of your site, malware scanning, and backups kept somewhere other than the server itself. Managed WordPress hosts often handle plugin updates and roll them back if a site breaks, which removes the most common excuse for not updating.
Ask who is responsible for what. Many small businesses assume their web agency patches the site, while the agency assumes the client does. Put the answer in writing, including who checks the site after a vulnerability announcement and how fast.
When a theme or plugin flaw is announced
Check whether your site runs the affected component and version, then update straight away. If the vendor has not released a fix, deactivate and remove the component, or block the vulnerable endpoint at the firewall until a fix arrives. If your site ran the vulnerable version while the flaw was being exploited, check for signs of compromise rather than assuming the update fixed everything, because updates do not remove backdoors an attacker has already planted.
Signs your WordPress site has been compromised
Look for these, especially after a vulnerability in something you run.
- Administrator accounts you did not create.
- PHP files in the uploads folder or recently changed core files.
- Unknown scheduled tasks, or plugins you did not install.
- Redirects that only appear for some visitors, such as mobile users or visitors from search engines.
- Warnings in Google Search Console, or your host reporting outbound spam.
Keeping watch from the outside
Our free website vulnerability scanner checks your site for outdated software, exposed files and missing security headers in a few minutes. For sites that take payments or hold customer accounts, a web application penetration test goes further and tests the forms, logins and custom code a scanner cannot judge. Agencies and businesses with many sites can use attack surface management to track every site and the software it runs.
Frequently asked questions
Is WordPress itself insecure?
Are premium themes safer than free ones?
Is a deactivated plugin safe?
What do we do if our WordPress site was hacked?
Check your site in minutes
Our free scanner shows outdated software, exposed files and missing headers on your site. For sites that take payments or logins, we test the code itself.

