When a client’s site is hacked, they call your agency first. It doesn’t matter whether the cause was a plugin you chose, a password they reused or a problem with the hosting. To the client, you look after their website, so you’re responsible for its security.

Your legal position depends on your contract. If your care plan promises “security monitoring and management”, a hacked site could count as a breach of contract.

So spell out the scope clearly:

  • what you do monitor and manage
  • what falls outside your responsibility

It also helps to understand your GDPR responsibilities here.

Who is responsible for common causes of a hack

Most hacks come from a handful of causes. Who carries the blame usually depends on who controlled that part of the site. Here’s how responsibility tends to fall, assuming your contract says who does what.

CauseUsually responsibleHow to protect yourself
Plugin left unpatched for weeksWhoever the contract says handles updatesPatch on a set schedule and keep a log
Client reused a weak passwordThe clientRequire strong passwords and two-factor login
Abandoned plugin the client insisted on keepingThe client, if you warned them in writingPut the warning in an email and keep it
Too many admin accounts, some for ex-staffWhoever manages user accessReview user accounts every quarter
Weakness in the hosting platformThe hosting providerChoose a host with published security commitments
Malware already present when you took the site onThe previous supplier, but only if you can prove itScan every site before you accept it

The last row matters more than most agencies think. If you take over a site without scanning it first, you can’t show the problem was already there. A clean scan on day one protects you.

Your role under UK GDPR

Most client sites collect personal data through contact forms, shop orders or newsletter sign-ups. UK GDPR gives each party a role.

  • The client is usually the controller. They decide why and how the data is used.
  • Your agency is often a processor. You handle the data on the client’s behalf, for example when you manage the site or its backups.
  • The host is usually a sub-processor. It stores the data on your behalf or the client’s.

A processor must have a written contract with the controller. That contract must cover security and breach reporting. If there’s a breach, a processor must tell the controller without undue delay. The controller then has 72 hours to report it to the ICO if it poses a risk to people.

In practice, this means your client relies on you to find out quickly. If your monitoring takes days to spot a hack, your client may miss their own deadline.

Check your insurance

Two kinds of insurance are relevant to agencies:

  • Professional indemnity covers claims that your work or advice was negligent. A client claiming you failed to keep their site secure would fall here.
  • Cyber insurance covers the costs of dealing with an incident, such as forensic work, recovery and notifying affected people.

Policies vary a lot. Some exclude incidents caused by known, unpatched weaknesses. Read the exclusions with your broker, and make sure your update process would meet the policy’s terms.

Have an incident plan ready

Write down your response process before you need it:

  1. Contain the breach. Take the site offline if you need to.
  2. Assess the damage. Find out what data was accessed or changed.
  3. Tell the client. Be clear and honest.
  4. Fix it. Clean out the malware and patch the weakness.
  5. Record everything. You may need it for a regulatory report.

This plan belongs with your wider disaster recovery planning. A security incident is one of the scenarios that plan should already cover.

Talking to the client

How you handle the conversation shapes the relationship from then on. Being open builds trust. Being defensive destroys it.

  • Admit there’s a problem.
  • Explain what happened in plain English.
  • Set out the steps you’re taking to fix it.
  • Describe what you’re putting in place to stop it happening again.

A checklist to reduce your risk

Use this for every client site you manage:

  • Your contract states who handles updates, backups, monitoring and user access.
  • You scanned the site for malware before taking it on, and kept the result.
  • Plugins and themes are updated on a set schedule, with a log of what changed.
  • Every admin user has a strong password and two-factor login.
  • Old user accounts are removed when people leave.
  • Backups are stored off the server, and you’ve tested a restore.
  • Any warning you gave the client is in writing.
  • You know who to call, and what to say, if a site is hacked.

How the right hosting helps

Plugins alone can’t secure a site, because many attacks target the server around WordPress. We explain why in WordPress security is an infrastructure problem.

WP Pro Host reduces your exposure in four ways:

  • proactive malware scanning that catches problems within hours
  • automatic removal of known malware
  • incident reports you can share with clients and use for regulatory notices
  • analysis of how the attacker got in, so you can stop it happening again

Each site also runs in its own isolated container. A hack on one client’s site can’t spread to the others in your portfolio. This is built into our hosting for agencies.

Frequently Asked Questions

Is a WordPress agency liable when a client site is hacked?

It depends on what you agreed in writing. Say your agreement covers security, updates and monitoring. If a site is then hacked through an unpatched plugin or weak settings, you could be liable. Your risk is lower if the agreement sets out who does what, and the client refused updates or chose hosting you advised against. Even when you’re not legally liable, a hack still costs you. It damages the relationship, eats up time and hurts your reputation. Managing security well protects the relationship, whatever the legal position.

What should agencies include in service agreements to limit security liability?

Your agreement should state:

  • who updates plugins, and how often
  • what security you provide, and what you don’t
  • that the client is responsible for their own logins and access
  • any promises you make about security monitoring
  • what happens when an incident occurs

Add a clause saying no hosting can be 100% secure. You could also cap your liability for security incidents at the previous month’s fees. If a client handles a lot of personal data under UK GDPR, have a solicitor check this section.

How should agencies communicate with clients after a security incident?

Tell the client as soon as you confirm the problem. Don’t wait until you’ve finished investigating. Aim to contact them within 2 hours of finding it. Use plain language, not technical terms. Explain what you’ve done so far, what happens next and how long it should take. When it’s fixed, send a written incident report. Clients who feel informed and supported usually stay. Clients who feel kept in the dark often leave.

What records should agencies keep for client security incidents?

Record:

  • when and how you found the problem (a monitoring alert, the client, or a routine check)
  • a timeline of what you investigated and did
  • how the attacker got in (an old plugin, stolen login details or a hosting setting)
  • what was affected, including files, the database and any data that may have been taken
  • how you fixed it
  • how you confirmed the site is clean

If personal data was involved, the client may have to report it to the ICO within 72 hours under UK GDPR. Your records will support that report. Keep them for at least 3 years.

How does managed hosting reduce agency security liability?

It helps in two ways. First, it means fewer incidents. A server-level firewall, malware scanning and virtual patching stop many attacks before they succeed. Second, it means faster fixes. On basic hosting, a hacked site can go unnoticed for months. Continuous monitoring finds problems within hours, and malware removal starts straight away. You can also show that proper security was in place. That matters for client conversations and for any liability question. Incident reports you can share with clients and regulators help too.