Your website was hacked: when is data breach notification to users and the authorities required?
When a site is hacked, the first concern is technical: how to clean the site, how to win visitors back, how to remove the Google warning. But if your site collects any data about people, such as names, email addresses, phone numbers, shipping addresses, orders or form submissions, there's another question that's often forgotten: is the hack also a personal data breach, and does it come with legal obligations?
For many small businesses the answer is surprising. In the EU and UK, data protection law applies to them too, and the data breach notification obligation has a short deadline that starts running from the moment you become aware of the problem, not from the moment you fix it.
In this article we explain when a website hack is also a data breach, what the GDPR requires, within what deadline, who needs to be notified and how a technical incident report helps you meet those obligations.
Note: this article is not legal advice. It gives a general overview of obligations under the GDPR and UK GDPR so that site owners know these obligations exist. Rules outside the EU and UK differ. For an assessment of a specific case, consult a lawyer.
In short: if a website hack meant someone could access personal data, it may be a data breach. The controller must notify the supervisory authority without undue delay and, where feasible, within 72 hours of becoming aware, unless the breach is unlikely to result in a risk to people's rights and freedoms. If the risk is high, the affected people must be told too. Every breach must be documented.
Request a technical review → · +381 65 402 5000
What a personal data breach is

A personal data breach, in the legal sense, isn't only when someone steals your customer database. It's broader than that. It covers any security incident leading to the accidental or unlawful destruction, loss, alteration, unauthorized disclosure of, or access to, personal data.
For a hacked site, that means a breach can exist even when:
- the attacker didn't visibly "steal" anything, but had access to the database holding the data,
- data was altered or deleted,
- a script was injected into the payment page or a form that copies what users type,
- the site was down, so users couldn't access their data.
Not every hack is a data breach. If the site doesn't collect any data about people, if the attacker only injected spam pages without database access, or if the database holds no personal data, the situation is different. But that's established by review, not assumption.
What data your site probably holds
Owners of small sites often think they "don't have any data". Look at the list:
- contact forms: names, email addresses, phone numbers, message contents,
- shop: names, shipping and billing addresses, phone numbers, emails, order history,
- user accounts: usernames, emails, sometimes dates of birth or other information,
- sign-ups: for newsletters, events, competitions, courses,
- bookings: appointments, names, contacts, sometimes additional information,
- comments: names, emails, IP addresses.
Even a simple contact form, if it stores messages in the database, stores personal data. If the attacker had access to the database, they had access to that too.
Who's the controller, and who's the processor

The law distinguishes two roles, and which obligations apply to whom depends on them.
The controller is whoever determines the purpose and means of processing the data. For a business website, the controller is usually the business itself, the site owner.
The processor is whoever processes data on the controller's behalf. That could be the agency maintaining the site, the host or another company the controller has entrusted with part of the work.
For a hack, that means:
- the obligation to notify the supervisory authority and inform individuals lies with the controller, i.e. the business,
- a processor that becomes aware of a breach must inform the controller without undue delay.
If an agency maintains your site, it should inform you as soon as it notices a problem, and the decision about notification, and the notification itself, is yours. We cover this from the agency's perspective in client website hacked.
Data breach notification to the supervisory authority
Under the GDPR (Article 33), the controller must notify the competent supervisory authority of a personal data breach without undue delay and, where feasible, not later than 72 hours after becoming aware of it. In the UK, that's the Information Commissioner's Office (ICO); in EU countries, it's the national or regional data protection authority.
There's an exception: notification isn't required if the breach is unlikely to result in a risk to the rights and freedoms of individuals. That assessment is made for the specific case and shouldn't be made lightly. If in doubt, it's safer to notify.
If notification isn't made within 72 hours, it must be accompanied by the reasons for the delay.
What the notification should contain
The notification should describe:
- the nature of the breach, including, where possible, the categories and approximate number of people and records concerned,
- the contact details of the person who can provide more information, such as your Data Protection Officer, if you have one,
- the likely consequences of the breach,
- the measures taken or proposed to address the breach and mitigate its effects.
Supervisory authorities usually provide an online form or a set procedure for this. If you don't have all the information within 72 hours, it can be provided in phases.
Why the deadline is short and the cleanup is long
This is where a practical problem arises. The 72-hour deadline runs from becoming aware of the breach, not from when the site is cleaned. Within 72 hours it often still isn't clear exactly what the attacker did, which data they had access to and since when.
That's why it matters that the technical review starts immediately, in parallel with considering the legal obligations. Every hour spent establishing what was found, when the attacker got in and what they could see provides answers needed for the notification.
Informing the people whose data was affected

Beyond the supervisory authority, the GDPR (Article 34) also requires informing the affected individuals themselves, if the breach is likely to result in a high risk to their rights and freedoms.
The communication should be clear and understandable and describe the nature of the breach, a contact for more information, the likely consequences and the measures taken.
The GDPR also provides situations where this communication isn't required, for example:
- if the data was protected by measures that make it unintelligible to unauthorized persons, such as encryption,
- if subsequent measures have been taken that ensure the high risk is no longer likely to materialize,
- if individual communication would involve disproportionate effort, in which case a public communication or similar measure that informs people equally effectively is used instead.
Examples where a high risk is likely: data stolen from the payment page, access to user passwords, access to sensitive data, a combination of data that enables fraud or identity theft.
For shops this is especially important. If a script that copies card data was injected into the checkout, customers are directly at risk. We cover that attack in card skimming on a WooCommerce store.
Examples: when risk is likely, and when less so
Risk is always assessed for the specific case, but these examples help build a sense of it. They're not a legal classification, just orientation.
| Situation | Risk assessment (indicative) |
|---|---|
| A checkout script copied card data | High risk. Probably both authority notification and informing individuals |
| The attacker had access to a database with customer names, addresses and phone numbers | Risk exists. Probably notification; assess whether to inform individuals |
| The attacker had access to hashed user passwords | Risk exists, depends on how passwords were protected |
| Spam pages injected through a vulnerability that doesn't give database access | Lower risk to data, but must be established technically |
| A site with no forms, accounts or orders, spam only | A personal data breach probably doesn't exist |
| The site was briefly down, with no access to data | Usually low risk, but it's documented |
The key word in every example is "access". The question isn't only what the attacker did, but what they could see. That's why a technical review is the first step of every assessment.
Sample message to users
If it's determined that users need to be informed, the message should be clear and free of jargon. A sample a lawyer can adapt:
Dear customer, we're letting you know that on [date] we discovered unauthorized access to our website. During this incident, the following data may have been exposed: [types of data]. We took immediate action: [briefly, e.g. the site was cleaned, the entry point closed, passwords changed]. We recommend that you [specific advice, e.g. change your password, monitor your card statement]. We're available for any questions at [contact]. We apologize for the inconvenience.
The obligation to document
Whether or not you notify, the controller must document every personal data breach (GDPR Article 33(5)): the facts of the breach, its effects and the remedial action taken. This documentation enables the supervisory authority, if it asks, to verify that obligations were met.
In practice, it's good to have a written record that includes:
- when the breach was discovered and how,
- what happened, according to the technical review,
- which data was exposed,
- the risk assessment and the reasoning behind the decision on notification and informing people,
- what was done and when.
Even if you conclude notification wasn't needed, this documentation shows you made the decision based on an assessment, not by chance.
Sample breach record
The documentation doesn't have to be complicated. Here's a sample record structure a lawyer can adapt:
- Date and time of becoming aware: when and how the problem was discovered, for example an email from the host, a customer report or a Search Console notification.
- Incident description: a short description of what happened, according to the technical report.
- Period: from when to when the attacker probably had access.
- Data: which types of data were on the site and which the attacker could access.
- Number of people: the approximate number of users or customers whose data was in the database.
- Risk assessment: reasoning as to whether the risk is low, present or high.
- Notification decision: whether the supervisory authority was notified, when, and if not, why.
- Decision on informing individuals: whether people were informed, how and when.
- Measures taken: cleanup, closing the entry point, password changes, monitoring.
The record is kept together with the technical report and correspondence, and is updated when new information emerges.
How a technical report helps

Legal assessment and notification need technical facts. A lawyer can tell you what the obligation is, but can't establish what the attacker did on the server. That takes a technical review.
A good incident report answers questions directly needed for the notification:
- When did the attacker get in? From file modification dates, server logs, creation dates of fake accounts.
- How did they get in? Through which plugin, vulnerability or stolen password.
- What did they do? Spam pages, redirects, sending email, scripts on forms.
- Did they have database access? And to which parts.
- Were there scripts copying data from forms or the checkout?
- What was removed and what was closed?
After cleanup you get a report of what was found, where, what was removed and what the most likely entry point was. You can give that report to your lawyer as a basis for the assessment, and use parts of it in the notification and documentation. What the whole process looks like is described in hacked website cleanup, step by step.
Important: we're not lawyers and don't give legal advice. We provide the technical facts the legal assessment is based on.
Data Protection Officer
Some organizations have a Data Protection Officer (DPO), a person who advises on obligations under the law and cooperates with the supervisory authority. If your business has one, they should be among the first informed when a website hack is discovered, and should take part in the risk assessment and notification decision.
If you don't have one, the coordinating role during an incident should be taken by a responsible person in the business, with a lawyer's help. What matters is knowing in advance who that person is, because within the first 72 hours there's no time to work out who decides.
A practical sequence: the first 72 hours

Here's a reasonable sequence when you discover the site has been hacked and it holds personal data:
The first hour
- stop the active damage, for example with maintenance mode,
- copy the files and database, don't delete anything,
- change access credentials,
- write down when you learned of the problem and how.
The first day
- start the technical review, yourself or with help,
- establish which data the site holds,
- inform the responsible person in the business and, if you have one, your DPO,
- contact a lawyer if there's any suspicion of data access.
Days two and three
- based on the technical findings, assess the risk,
- decide on notifying the supervisory authority and document the reasoning,
- if notification is needed, submit it on time, even with partial information,
- if the risk is high, prepare the communication to individuals,
- continue the cleanup and closing the entry point.
Afterwards
- supplement the notification with new information as you receive it,
- complete the breach documentation,
- put measures in place so it doesn't happen again.
If you're outside the EU and UK
If your business and customers are outside the EU and UK, other rules may apply, with different deadlines and thresholds. In the United States, for example, breach notification rules differ from state to state. If your site serves customers in the EU or UK from elsewhere, the GDPR may still apply to their data. In such cases the assessment is more complex, and consulting a lawyer is especially important.
The most common mistakes

Waiting for the site to be cleaned before thinking about notification. The deadline runs from becoming aware.
Assuming "we don't have any data". Contact forms, orders and user accounts are personal data.
Destroying evidence before the review. Without evidence, it can't be established what the attacker had access to, and so the risk can't be assessed.
A vague message to users. "We had a technical problem" isn't enough if data was at risk.
No documentation. Even a decision not to notify should be documented and reasoned.
How to reduce the risk in advance
The best way to avoid this whole procedure is for the breach not to happen, or to be discovered while it's small:
- don't keep data you don't need: old orders, form messages, inactive accounts,
- update regularly, the site and its plugins,
- put monitoring in place for file changes and administrator accounts,
- use an external payment processor, so card data doesn't pass through your server,
- have a backup stored off the server,
- know who has access to the site and database.
A maintenance plan with monitoring starts from €35/month. What it includes is described in WordPress maintenance.
Technical facts are the basis of every assessment

If your site has been hacked and holds data about people, every hour matters, for the cleanup and for the deadline. Get in touch right away and send the site address and a short description of what's happening. The review starts with priority, and you can forward the report you receive to your lawyer.
Request a technical review → · +381 65 402 5000