Why keeping your WordPress site up to date is vital for your security

Why keeping your WordPress site up to date is vital for your security

A WordPress site that is not updated keeps flaws that everyone knows about, and hackers exploit them fast: sometimes within hours of their disclosure. Your site can then be used, without your knowledge, to steal other people’s data. We saw it up close recently, through a simple e-mail.

In short

  • In 2025, 91% of the new WordPress vulnerabilities recorded by Patchstack came from plugins, and only 6 from WordPress core.
  • The most targeted vulnerabilities are exploited on a mass scale within hours of their disclosure.
  • A hacked site can host a phishing page, lose its data, be defaced or be flagged by Google.
  • Cleaning up a hack means going through FTP: the WordPress dashboard does not show everything.

A real example: the fake bailiff's e-mail

One of us received a serious-looking e-mail. The sender claimed to be a firm of bailiffs and invited the reader to view an “official document” about a legal procedure. Everything looked credible: a professional tone, a logo, a link to a PDF.

But hovering over the link showed an address that had nothing to do with a bailiff. It led to a hacked WordPress site hosting a fake WeTransfer page.

Fake WeTransfer page hosted on a hacked WordPress site, asking for the visitor's email address to access a supposed PDF file
The fake WeTransfer page: to "read the document", you have to enter your e-mail login details.

What the page does behind the scenes

  • It imitates WeTransfer: “You have received a secure file, DOSSIER-2022000671.pdf”.
  • It asks for the e-mail address and then the mailbox password, here with Orange labels, which makes no sense on a real WeTransfer page.
  • It shows a fake “incorrect password” message to push the victim into typing it a second time.
  • In the source code, the login details go straight to a Telegram bot controlled by the scammers.
How the scam works: a fake bailiff email links to a fake WeTransfer page hidden on a hacked WordPress site, which passes the login details to a Telegram bot

The words “Login Orange” in the code suggest that the same kit is used for other scams, such as a fake Orange login page asking you to “update your bank details”. A poorly maintained site had become the relay of a phishing campaign, without its owner knowing. We let them know, of course.

Received this kind of e-mail? Do not click, and report it on Signal Spam. The Cybermalveillance.gouv.fr fact sheet sets out what to do.

Why updates matter so much

Patchstack’s annual report on WordPress security gives a clear picture of the risk for 2025:

  • 11,334 new vulnerabilities recorded, 42% more than in 2024;
  • 91% in plugins, 9% in themes, and only 6 in WordPress core;
  • for the most exploited vulnerabilities, a median of 5 hours between their disclosure and the first mass attacks;
  • 46% of vulnerabilities had no fix yet when they were disclosed.

In other words, the danger comes mostly from plugins, and reaction time matters. An update applied three months late means three months with the door open. And a plugin abandoned by its developer will never be fixed: it has to be replaced.

What an outdated site risks

  1. Hosting fraudulent content: as in our example, hackers love to store their fake pages on vulnerable sites. Your site becomes an accomplice in spite of you.
  2. Having its data stolen: customer e-mails, orders, personal information. On top of the damage, a personal data breach exposes you under the GDPR.
  3. Being defaced: the home page replaced by messages or dubious adverts.
  4. Being blocked by Google: a site hosting malicious content can be flagged as dangerous in browsers, or removed from search results.
  5. Losing revenue: a site that is offline or blocked no longer sells, which hits an online shop hardest.

What a well-maintained site brings

  • Security: known flaws are fixed as they come.
  • Compatibility: the site keeps up with new versions of PHP, browsers and devices.
  • Performance: updates often bring speed gains.
  • Trust: your visitors do not feel they have landed on an abandoned site.

Cleaning up this kind of hack yourself

If your site has been hit, here is what to do. It requires FTP or SSH access: the files added by hackers do not usually show in the WordPress dashboard.

1. Isolate

  • put the site into maintenance mode;
  • back up the files and the database as they are now, so they can be analyzed.

2. Remove and restore

  • delete the fake page and the whole scam kit folder, often hidden in /wp-content/uploads/ or in an oddly named folder in /wp-content/plugins/;
  • replace the WordPress core files with a clean version;
  • reinstall themes and plugins from their official sources;
  • delete inactive plugins and unused themes.

3. Change keys and access

  • change every password: WordPress administrators, FTP or SSH, database;
  • regenerate the security keys (AUTH_KEY, SECURE_AUTH_KEY and the rest) in wp-config.php;
  • check that no unknown administrator account has been created.

4. Update and harden

  • update WordPress, the plugins and the theme;
  • turn on a web application firewall, often offered by the host;
  • disable the dashboard file editor with define( 'DISALLOW_FILE_EDIT', true ); in wp-config.php;
  • run a scanner to find anything left behind: Wordfence, Jetpack Protect or Kadence Security (formerly iThemes Security).

5. Monitor

  • check the host’s logs, the login history and any unusual scheduled tasks;
  • watch for PHP files created in /wp-content/uploads/, where there should be none.

Have your site maintained

Many businesses have neither the time nor the wish to handle all this. That is the role of our WordPress maintenance, with no commitment:

  • updates of WordPress, the plugins and the theme, with the checks that go with them;
  • 24/7 site monitoring;
  • regular backups, to restore if needed;
  • troubleshooting when something goes wrong, by people who already know your site.

Your site has not been updated for a long time, or you have a doubt? Ask us for a fresh pair of eyes.

Contents
Read next

More articles that may help you

Illustration au trait : un casque audio, une onde sonore, un stockage de fichiers et le symbole d’un flux RSS

Self-hosted podcast: moving a podcast to WordPress and Cloudflare R2

Read the article →
Illustration au trait : une patinoire vue de dessus, des sapins et un écran d’état avec deux pastilles

Ice rink and skating trail: a municipality’s custom WordPress plugin

Read the article →
WooCommerce e-invoicing: how to make your shop compliant

WooCommerce e-invoicing: how to bring your shop into compliance

Read the article →

A project, a question?

Free quote · Refundable deposit · Balance only if satisfied · No commitment