WordPress Security ServicesMalware Removal
Responsibility

Hacked WordPress Site: Who's Responsible for Cleaning It, You, Your Host, or Your Developer?

When a site gets hacked, the first argument is often about whose job it is to fix it. The host says it's your website. The developer says they only built it. And you're left with a broken site. Here's how responsibility usually works in practice, and what to ask each party, so you get it fixed instead of going in circles.

Sergey By Sergey, WordPress security specialist Updated 2 min read
In this guide
  1. The short answer
  2. What hosting providers usually cover
  3. What your web developer or agency owes you
  4. What you’re responsible for as the owner
  5. What to ask each party
  6. Avoiding the argument next time

The short answer

In most cases, the site owner is responsible for the website software: WordPress, plugins, themes and passwords. Hosts are responsible for the server. Developers are responsible for what’s in their agreement with you. Everyone has a part, but by default the cleanup lands on the owner.

What hosting providers usually cover

  • Their servers and infrastructure, including the operating system, PHP version on shared hosting, and the hosting platform.
  • Detecting malware on their servers, and often suspending infected sites to protect others.
  • Telling you which files their scanner flagged.

What they usually don’t cover is cleaning your WordPress site. Some hosts sell cleanup as an add-on, and a few managed WordPress plans include it. Check your plan. If the hack came through a server-level problem, such as an outdated PHP version the host was responsible for or a compromised server, the host should be involved, and it’s worth asking.

What your web developer or agency owes you

It depends entirely on your agreement:

  • Website built and handed over, no maintenance contract: updates and security are usually your job after handover.
  • Maintenance or care plan: if they were paid to keep the site updated and it was hacked through something they should have updated, they should help.
  • Custom code with a security hole: if their own code was the entry point, it’s reasonable to ask them to fix it.

What you’re responsible for as the owner

  • Keeping WordPress, plugins and themes updated (or paying someone to).
  • Strong, unique passwords and two-factor login.
  • Not installing nulled or untrusted plugins.
  • Having backups.
  • Getting the site cleaned when it’s hacked, by you or someone you hire.

What to ask each party

Ask your host: which files did you detect, and when? Do you have access logs from that time? Is cleanup included in my plan? Are other sites on my account affected?

Ask your developer: did our agreement include updates or security? Did you add any custom code or plugins I should know about? Do you have the original files to compare against?

Avoiding the argument next time

The simplest way to avoid “whose job is it?” is to make it someone’s job, in writing: either you keep the site updated yourself, or you have a care plan with a clear scope. And if your site is hacked right now, the fastest path is usually to get it cleaned first and settle responsibility afterwards. My hacked website cleanup is $95, and the report you get makes those conversations much easier.

From my cleanup work: I’ve seen owners lose a week bouncing between host and developer while the site showed a Google warning. When the cleanup was finally done, the cause was a plugin nobody had updated since launch. Neither the host nor the developer was really at fault. It just wasn’t anybody’s job.

Sergey, WordPress Security Specialist
About the author
Sergey, WordPress Security Specialist

10 years in WordPress security and incident investigation, and more than 200 websites cleaned of malware. Top Rated on Upwork with a 100% Job Success score. More about me

Frequently Asked Questions

Can I make my host pay for the cleanup?

Usually not, unless the hack came from a problem on their side, such as a compromised server, or your plan explicitly includes malware cleanup. Most hosting terms make the customer responsible for the software they install.

My developer built the site a year ago. Should they fix it for free?

Only if your agreement says so, or if the hack came directly from a mistake in their custom code. Without a maintenance agreement, keeping plugins updated after handover is normally the owner's job, which is exactly why maintenance plans exist.

Will GoDaddy, Bluehost or my host help if my WordPress site is hacked?

Most hosts will tell you which files they detected and suspend the site if needed. Cleanup is usually a paid add-on or left to you. Check what your plan includes, then decide whether their product or an independent cleanup suits you better.

Need a hand?

Let me clean your WordPress site for you

Send me your site URL and what you're seeing. I'll reply with what I think is going on and the next step.

$95 per infected site · 1-month guarantee · direct contact with the specialist

Get My Site Cleaned →