Why PrestaShop e-commerce stores are targeted
An online store interests attackers more than a showcase site, because it holds what can be resold: card numbers typed at checkout, customer details, reusable logins. Attacks are automated: bots look for installations running a version or a module with a known vulnerability, whatever the size of the business. A small e-commerce business is not too small to interest a hacker, it is just less closely watched.
There is no shortage of security flaws. On 9 November 2026, PrestaShop published 18 security advisories fixed in versions 8.2.9 and 9.2.1, 15 of them rated serious, including remote code execution without being logged in. Earlier in the year, CVE-2026-44212, an XSS vulnerability rated critical in the customer service screen, affected versions before 8.2.6 and 9.1.1. On the module side, the Friends of Presta collective has published more than 220 free advisories since 2022: as with WordPress, the danger mostly comes from what is added to the core.
Then there are older installations. PrestaShop 1.7 has received no fixes since PrestaShop 9 came out in June 2025, and its last patch dates from January 2024. Any critical flaw discovered since then stays open forever on those stores.
The signs of a hacked PrestaShop store
The most serious sign is also the most discreet: on an online store, the attacker wants to stay invisible as long as possible to collect cards and contact details. Here are the three situations I have come across on PrestaShop stores in 2025 and 2026, from the most costly to the most visible.
A fake credit card form
On 11 October 2026, I discovered that the online store of Chocolaterie Lothaire, a chocolate maker near Reims, had been hacked. The manager, Virginie, had found me by asking ChatGPT. At checkout, malicious code displayed a fake credit card form after the cart was validated, while the real payment took place on the bank’s page. The window reloaded as soon as the third digit of the security code was typed, and the script was loaded through a WebSocket connection from an innocent-sounding domain, staticfonts.com. I proved it the same day with a test using a fake card, and the owners were warned straight away.
This type of attack is called a skimmer. Nothing shows in the back office: the cart is validated, orders go through, the bank collects the money, and the data leak only comes to light later, when buyers report fraudulent payments. My audit showed the intrusion had been going on for nearly six months.
An unknown admin account in the back office
In November 2026, I got a call about another PrestaShop store: the hacker had created their own administrator account and had access to everything. In a PrestaShop back office, “everything” means the orders, the customer file and the payment module settings. At Lothaire too, a SuperAdmin account created by the hacker was still there during my audit, several days after a first cleanup.
To check, go to Advanced Parameters, then Team: the list of employees must match exactly the people who work on the store. An unknown user, an unfamiliar email address or a recently created SuperAdmin profile is proof of an intrusion, even if everything else looks normal.
Strange searches in Google
A high-end products store running PrestaShop, whose site I audited in 2026, had suffered an SEO spam attack in summer 2025: Google showed it on Turkish online betting searches. Search Console reported 1.35 million clicks in July 2025 on those queries, 99% of all clicks over the previous sixteen months, and 235 websites still linked to a broken URL. This type of attack mostly shows in Search Console: visiting the home page, you may notice nothing.
Other signs should raise the alarm: a redirect to another site, performance slowing for no reason, unauthorised transactions, a warning from Google or the host, a virus message shown by a customer’s browser, an unknown PHP file in the image folders. Even a single sign is enough to start a diagnosis, hence the value of regular checks.
What to do if your PrestaShop site is hacked
The first hour is about stopping the leak and keeping the evidence, not fixing everything. Deleting the visible code without understanding where it comes from leaves the backdoor in place, and reinfection follows within days. Advice from an assistant like ChatGPT helps you understand, but it does not replace analysing the files on the server. Here are the steps of my emergency intervention:
- Put the site in maintenance mode from the back office, to protect buyers and stop the data collection.
- Copy the hacked state (a separate backup, never to be restored): files, database, server logs, screenshots.
- Change the passwords of employees, hosting, FTP and MySQL, from a clean computer.
- Regenerate the payment module keys (Stripe, PayPal, bank) and contact the payment provider.
- Inform your web agency or technical provider, and write down the dates of the first symptoms.
If a skimmer is involved, the site must not reopen until it is clean: every purchase in the meantime exposes one more credit card.
How to clean a hacked PrestaShop site
Cleaning a hacked PrestaShop site means replacing all the code with original files, then searching through what is specific to the store: database, purchased modules, theme, overrides. The cleanup procedure must also identify the flaw that was exploited; otherwise, the same door stays open.
Confirm the attack and find the entry point
The diagnosis starts by analysing the server logs (admin logins, unusual requests) around the date of the first symptoms, the list of recently modified files and the inventory of modules, compared with published advisories. A module abandoned by its developer or a core that has not been updated for years is often enough to explain the infection. System scheduled tasks also need checking, since a backdoor can restart itself from there.
Compare the core, modules and theme with the official archives
Core files are compared with the official archive of the same version number, downloaded from GitHub: any modified or added file is suspect. Modules and the theme are reinstalled from their developer’s archive. Two folders deserve special attention: override/, where an override can change the behaviour of any class, and the theme’s Smarty templates (.tpl), where a script is easily injected into the checkout. Also check the .htaccess file at the root, often modified to add a redirect.
Search the database
Malicious code also hides in the database: CMS content, custom text blocks, module configuration fields that accept HTML or JavaScript. I search all tables for <script tags, unknown domains and base64-encoded code, then check the employee table and the webservice keys table. Then clear the Smarty cache: a template compiled before the cleanup may still contain the malware.
When the site is too old: migration
On a PrestaShop 1.7 or 1.6 installation with end-of-life PHP, cleaning is not enough: the core’s flaws stay open. For Chocolaterie Lothaire, on PrestaShop 1.7 and PHP 7.4, the only lasting solution was a migration project to PrestaShop 9: the new site has been live since 19 November 2026, 16 days after signing, with the 104 products, 3,291 customers and 2,470 orders carried over, and eight custom modules. It is the best strategy when the platform is no longer maintained: you start again on a healthy site instead of patching the same problem every year.
Your obligations: customers, data protection authority and bank
If personal data may have been read, the GDPR requires you to notify the breach to the data protection authority (the CNIL in France) within 72h of becoming aware of it, and to inform the people concerned when the risk to them is high. Stolen card numbers clearly fall into this case: buyers must be able to block their cards. GDPR compliance does not stop at the cookie banner: it also covers the sensitive information an e-commerce site lets leak.
Also contact your bank or payment provider, who can check which cards were used fraudulently and tell you which purchases are affected. Filing a complaint helps in those exchanges and with your insurer; keep the copy of the infected site as evidence.
An SSL certificate does not protect against a skimmer
An SSL certificate encrypts the exchanges between the browser and the server: it is the padlock in the address bar. It protects data in transit, but says nothing about the code the store runs. At Lothaire, the fake form was displayed over HTTPS, with the padlock clearly visible: nothing allowed the buyer to see the danger.
It is the flawed reasoning I hear most often from merchants: “my site is secure, it has SSL”. SSL is essential, but protecting an online store happens elsewhere: in patches, modules, admin access and file monitoring.
How to keep your PrestaShop store from being hacked
To avoid another attack and strengthen security, you need to close the most used entry points and detect suspicious activity before it costs you customers. The table below lists the measures that would have prevented the three cases described above.
| Measure | What it prevents | Frequency |
|---|---|---|
| Apply PrestaShop and module security updates | Published flaw exploited by bots | As soon as released for a critical fix, monthly otherwise |
| Remove unused or abandoned modules | Vulnerable module with no fix | Regular review, every quarter |
| Check admin accounts and their permissions | Hacker’s admin account | Every month |
| Monitor files and checkout scripts | Skimmer staying for months | Continuously |
| Recent daily off-server backup, tested | Site impossible to bring back online | Every day |
Two simple rules complete this table. The admin folder must keep the unique, hard-to-guess name given at installation, and access to it can be restricted to a few IP addresses. Each user has their own account, with only the permissions they need: a shared password or one SuperAdmin too many makes an intrusion impossible to trace. These rules apply to a small business as much as to a large in-house team: the best protection remains proactive, regular monitoring. A detection tool that compares the store’s files with a known fingerprint every night spots a skimmer the next day, instead of six months later. I list the versions still maintained in the blog post how to secure a website, and a website maintenance plan applies these measures on a regular basis, every month.
How much it costs to restore a hacked store
The price of a cleanup depends mainly on how far the infection has spread and how old the installation is. With me, repairing a hacked site is a fixed price: €390 excl. VAT, and €590 excl. VAT as an emergency with same-day intervention (November 2026 prices), including diagnosis, cleanup, flaw fixed, access changed and the Google review request. A migration or redesign, when the platform is too old, is quoted separately. Then plan a maintenance budget: an e-commerce site without follow-up ends up falling into the same flaws again.
To compare two repair offers, look at what they include rather than the amount: an intervention that deletes the visible code without looking for the cause is cheaper at the time, but reinfection means paying twice. Ask for a written report, which lets you check what was found and fixed, and for follow-up after the site is back online. The best provider, agency or freelancer, is the one who can explain each step without technical jargon.
Is your site hacked, or do you have a doubt after reading this article? Get in touch for an emergency hacked website repair, or review your security strategy with a PrestaShop expert. If your site runs on WordPress, read what to do when a WordPress site is hacked instead.
Sources
- PrestaShop, security advisories (GitHub), 9 November 2026
- PrestaShop, remote code execution via the installer session cookie (GHSA-h2q4-7fp7-m5jp)
- Packagist, CVE-2026-44212
- Friends of Presta, PrestaShop module security advisories
- PrestaShop, 1.7.8.11 maintenance release
- CNIL, Notifying a personal data breach (in French)




