Security risks for WordPress websites
Authors:
-
Piotr Nadolny

At Evostudio, we work with WordPress websites. Here are the security risks we want site owners to know about.
This guide explains common threats and practical ways to reduce the risk of a break-in or data loss.
Introduction
A security incident can expose private data, take a site offline and damage the business’s reputation.
Every website faces some risk. Knowing the common ways a site can be compromised helps you decide where to focus your protection.
We’ll look at vulnerabilities and attacks that can affect WordPress sites, how attackers exploit them and what you can do to reduce the risk.
What Sucuri found in its review of compromised websites
The figures below come from sites Sucuri investigated or cleaned. They describe that sample rather than the risk across all websites.
An attack can exploit a known vulnerability and give someone access to site or customer data. The damage can continue after the initial break-in if the attacker leaves a way to return.

Old versions of WordPress, plugins and themes can leave known security gaps open. Weak passwords, a lack of security awareness and missing safeguards add to the risk.
Have questions about WordPress security?
Get in touch and tell us what you’d like to check.

Findings from Sucuri’s 2023 sample:
39,1%
39.1% of the CMS installations were out of date when they were infected.
49,21%
49.21% of the compromised sites had at least one backdoor.
2,14%
2.14% of compromised sites had a malicious scheduled task that installed malware.
38,3%
38.3% of the compromised databases included SEO spam, often as hidden links.
5,06%
5.06% of compromised sites hosted some form of phishing content.
4,18%
The clean-up team found fake plugins on 4.18% of compromised sites.
13,97%
13.97% of compromised sites still had a vulnerable plugin or theme when they were cleaned.
Source: Sucuri’s 2023 Hacked Website & Malware Threat Report.
Read more about website security
What makes a WordPress site vulnerable?
Outdated WordPress core, plugins and themes
One of the main risks is running out-of-date versions of:
Plugins
Themes
WordPress core
Old versions can contain known vulnerabilities. Update WordPress core, plugins and themes regularly so you get the latest security fixes.
Weak administrator passwords
A weak, reused or stolen administrator password can give an attacker access to the dashboard. Use a long, unique password and change it promptly if you have reason to think it was exposed.
Running infected software or visiting compromised websites
Malicious code can reach a site through uploaded files, scripts or links. If infected code runs on the server, it can affect other parts of the site and give an attacker access.
Phishing
In phishing, attackers impersonate someone users trust to trick them into sharing sensitive information. They may copy a real login page and ask for passwords, card details or personal data. That can harm users and damage trust in the brand.
Lack of security safeguards
Use safeguards suited to the site, such as HTTPS, a web application firewall and protection against denial-of-service attacks. Each addresses a different risk.

Common ways websites are attacked
Cross-Site Scripting (XSS)
In cross-site scripting (XSS), an attacker gets malicious script to run in a visitor’s browser as part of a page. It can steal data, hijack sessions, show misleading information or send visitors to a malicious site.
SQL injection
SQL injection can occur when an application treats user input as part of a database command. An attacker may be able to read or change data, particularly dangerous if the site stores customer or financial information.
Cross-Site Request Forgery
Cross-site request forgery (CSRF) tricks a logged-in user’s browser into sending a request the user didn’t intend. A vulnerable site may treat the request as authorised and change settings or data using the active session.
Brute-force password attacks
A brute-force attack repeatedly tries passwords, often with automated tools. An easy-to-guess administrator password can give the attacker control of the site.
Malware infection
Malware can be installed on a site without the owner noticing. It may steal data, replace content, redirect visitors or try to infect their devices.
Theft of sensitive information
Attackers may use fake login pages, fraudulent emails or impersonation to get hold of passwords, payment details or other personal information.
Have questions about WordPress security?
Get in touch and tell us what you’d like to check.

What can an attack cost your business?
A compromised website can have consequences well beyond the initial technical problem:
Loss of revenue
When a store goes down or customers fear their details are at risk, sales can fall. If a site hosts malware, browser security warnings can also discourage visitors from continuing.
Repair costs
Recovering from an attack takes time and can cost money. A security specialist can assess the damage, clean up the site and help close the gaps that allowed the attack.
Penalties for breach of data protection rules
If an incident exposes personal data, obligations under data protection law may apply. Regulators such as Poland’s Personal Data Protection Office (UODO) can impose penalties when an organisation fails to protect personal data adequately.
Damage to reputation and customer trust
A breach can damage the trust customers place in your business. Rebuilding it may take time and clear communication about what happened and how you responded.
Downtime and disruption
An attack can take your website offline. If it’s a main source of sales or enquiries, the disruption can cost customers and interrupt day-to-day work.
Loss of search visibility
A compromised site can show hacked content or trigger security warnings in search results. That can make it harder for customers to find or reach the site. Advertising may also be restricted until the site is cleaned up and reviewed.
How Evostudio builds WordPress websites
We build websites on WordPress.
Our developers, designers and digital marketing specialists work together to build sites around what each client needs.
WordPress gives us a way to build responsive sites with substantial content that clients can manage. We keep up with web development practices so we can choose tools that suit each project.
Need help with your website?
We can help you plan the work and improve the site’s search visibility.
Authors
-
Piotr Nadolny
Get in touch and tell us how we can help.
Join the businesses that trust us with their projects.





