Website support, maintenance and fixes for UK businessesCall 0208 088 8371info@websupportservices.co.uk

HomeLatest WordPress security threats

Latest WordPress security threats

This page brings together recent WordPress security research and attack reports from Wordfence, Patchstack, Sucuri and WPScan. We summarise the headlines and link to the original vendor research so you can read the source in full.

1,909 reports kept since 2009. Updated automatically every 10 minutes. Last checked 9 min ago.

  1. Malicious Redirects from NewShareCounts.com Tweet Counter

    Research Sucuri, 16 Oct 2018

    When Twitter announced their new design for “Tweet” and “Follow” buttons back in October 2015, marketers across the web developed a mild anxiety-the new design came with a decision to nuke their beloved Tweet count feature. Social signal...

  2. Obfuscated JavaScript Cryptominer

    Research Sucuri, 9 Oct 2018

    During an incident response investigation, we detected an interesting piece of heavily obfuscated JavaScript malware. Once decoded, we found out that cryptominers were running on visitor’s computers when they accessed our customer’s webs...

  3. Backdoor Uses Paste Site to Host Payload

    Research Sucuri, 18 Sep 2018

    Finding backdoors is one of the biggest challenges of a website security analyst, as backdoors are designed to be hidden in case the malware is found and removed. Website Backdoors A backdoor is a piece of malware that attackers leave be...

  4. Multi-Vector WordPress Infection from Examhome

    Research Sucuri, 18 Sep 2018

    This September, we’ve been seeing a massive infection wave that injects malicious JavaScript code into .js, .php files and the WordPress database.> The script looks like this: eval(String.fromCharCode(118, 97, 114, 32, 115, 111, 109, 101...

  5. Outdated Duplicator Plugin RCE Abused

    Research Sucuri, 14 Sep 2018

    We’re seeing an increase in the number of cases where attackers are disabling WordPress sites by removing or rewriting its wp-config.php file. These cases are all linked to the same vulnerable software: WordPress Duplicator Plugin . Vers...

  6. Unsuccessfully Defaced Websites

    Research Sucuri, 13 Sep 2018

    Defaced websites are a type of hack that is easy to notice and a pain for website owners. Recently, we came across some defacement pages with a peculiar JavaScript injection included in the source code. What is a Defacement? Website defa...

  7. New Guide on How to Use the Sucuri WordPress Security Plugin

    Research Sucuri, 11 Sep 2018

    Sucuri has always been active in the WordPress community. We’ve attended WordCamps around the world, created tools and features specifically for WordPress, and have maintained a free WordPress security plugin with over 400k installations...

  8. “Google Fonts” popup leads to malware

    Research Sucuri, 10 Sep 2018

    A recent malware injection in a client\’s WordPress file was found to be targeting website visitors that were using the Google Chrome browser to access the infected website. It uses Javascript to detect the visitor\’s use of Google Chrom...

  9. WordPress Database Upgrade Phishing Campaign

    Research Sucuri, 4 Sep 2018

    We have recently been notified of phishing emails that target WordPress users. The content informs site owners that their database requires an update and looks like this: The email’s appearance resembles that of a legitimate WordPress up...

  10. Core Integrity Verifications

    Research Sucuri, 28 Aug 2018

    In order to clean a malware infection, the first thing we need to know is which files have been compromised. At Sucuri, we use several techniques including whitelists, blacklists, and anomaly checks. In this blog post, we’re going to be ...

  11. Massive WordPress Redirect Campaign Targets Vulnerable tagDiv Themes and Ultimate Member Plugins

    Research Sucuri, 22 Aug 2018

    This August, we’ve seen a new massive wave of WordPress infections that redirect visitors to unwanted sites. When redirected, users see annoying pages with random utroro[.]com addresses and fake reCAPTCHA images. The messages and content...

  12. Fake Plugins with Popuplink.js Redirect to Scam Sites

    Research Sucuri, 17 Aug 2018

    Since July, we’ve been observing a massive WordPress infection that is responsible for unwanted redirects to scam and ad sites. This infection involves the tiny.cc URL shortener, a fake plugin that has been called either “ index ” or “ w...

  13. How to Improve Your Website Security Posture - Part I

    Research Sucuri, 14 Aug 2018

    Have you ever wondered if your website security posture is adequate enough? The risk of having a website compromise is never going to be zero. However, as a webmaster, you can play an important role in minimizing the chances of a website...

  14. Fake Cloudflare Injection

    Research Sucuri, 8 Aug 2018

    Seeing malicious campaigns using domain names that resemble big market players is not news anymore. This time I\’ll talk about the new redirects of cloudflare.pw .**** The domain, registered in 2017, has been used as a doorway to other s...

  15. Cookie Consent Script Used to Distribute Malware

    Research Sucuri, 7 Aug 2018

    Most websites today use cookies. Since May 25th, 2018, all websites that do business in the European Union (EU) had to make some changes to be compliant with the EU General Data Protection Regulation (GDPR). Even though cookie usage is m...

  16. Cryptominers: Binary-Process-Cron Variants and Methods of Removal

    Research Sucuri, 2 Aug 2018

    This post provides a brief overview of how to manually remove server-side cryptominers and other types of Binary-Process-Cron malware from a server. Unlike browser-based JavaScript cryptominers that have been injected into a web page, a ...

  17. Obfuscated JavaScript Crypto Miner

    Research Sucuri, 1 Aug 2018

    During an incident response investigation, we detected an interesting piece of heavily obfuscated JavaScript malware. Once decoded, Crypto Miners were ran on customers visiting the website. By looking at the following malware this can be...

  18. RawGit CDN is Abused by CryptoLoot Cryptominers

    Research Sucuri, 31 Jul 2018

    Recently, we came across another way to use files from GitHub repositories in malware infections. This time the infections weren’t via GitHub.io, raw.githubusercontent.com, or github.com/ / /raw/ URLs. The new trick involved a third-part...

  19. Hardening WordPress on Apache, Nginx, or IIS

    Research Sucuri, 23 Jul 2018

    Server configuration files allow administrators to restrict access and make changes at the server level. Depending on the server software you use, there are different configuration files that instruct the server how to respond to request...

  20. Hiding Malware Inside Images on GoogleUserContent

    Research Sucuri, 18 Jul 2018

    If you have been following our blog for a long time, you might remember us writing about malware that used EXIF data to hide its code. This technique is still in use. Let us show you a recent example. Contaminated Pac-Man This code was f...

  21. Using Innocent roles to hide admin users

    Research Sucuri, 18 Jul 2018

    All across the internet we find guides and tutorials on how to keep your WordPress site secure, and they all approach the concept of user roles, but not many actually approach the capabilities of those roles. The way the capabilities are...

  22. Persistent Malicious Redirect Variants

    Research Sucuri, 16 Jul 2018

    It’s always nice to meet an old friend or someone you used to know well. You have news to share and talk about, stories to tell, etc. But what if your “old friend” was on the criminal side of things and you are meeting him more often tha...

  23. Ask Sucuri: How Do You Find Website Backdoors?

    Research Sucuri, 11 Jul 2018

    A website backdoor is malicious code injected into a website to allow unauthorized access. These hidden entry points can give attackers full control over your site, making them extremely dangerous. Today, we want to focus on the essentia...

  24. WordPress Update - 4.9.7 Security & Maintenance Release

    Research Sucuri, 5 Jul 2018

    The WordPress team has just released a critical security and maintenance update to resolve a number of bugs and security issues. Included in this release is a patch that protects against a vulnerability allowing bad actors to delete file...

  25. What are Website Backdoors?

    Research Sucuri, 26 Jun 2018

    When a site gets compromised, the attackers will often leave some piece of malware behind to allow them access back to the site. Hackers want to leave a door open to retain control of the website and to reinfect it continuously. This typ...

  26. Why You Should Care about Website Security on Your Small Site

    Research Sucuri, 21 Jun 2018

    Most people assume that if their website has been compromised, there must have been an attacker evaluating their site and looking for a specific vulnerability to hack. Under most circumstances however, bad actors don’t manually hand-pick...

  27. Magento Credit Card Stealer Reinfector

    Research Sucuri, 19 Jun 2018

    In the past few months, we have frequently seen how attackers are infecting Magento installations to scrape confidential information such as credit cards, logins, and PayPal credentials. That is why we have reported on a credit card stea...

  28. Hackers Are Just as Vulnerable as You

    Research Sucuri, 15 Jun 2018

    I came across some interesting defacement pages recently and noticed a peculiar JavaScript injection included within each source code of the defaced websites. As shown below, this JavaScript injection was peculiar as it seemingly provide...

  29. Fake Font Dropper

    Research Sucuri, 14 Jun 2018

    A website owner reached out to us to investigate a weird behavior on their site. It was randomly showing a popup window for a missing font and telling the visitors that they are unable to view the content of the site because their own co...

  30. JQuory: Cryptomining in Nulled Themes and Plugins.

    Research Sucuri, 5 Jun 2018

    Three months ago b>@ninoseki jquory.js files (yes, jqu o ry instead of jqu e ry). Coinhive(“I2OG8vGGXjF7wMQgL37BhqG5aVPjcoQL”) is trigged by “jquory.js”. haha.https://t.co/jLhCucoOYU pic.twitter.com/xMDrpcwde6 - にのせき (@ninoseki) Marc...

  31. Shell Logins as a Magento Reinfection Vector

    Research Sucuri, 31 May 2018

    Recently, we have come across a number of websites that were facing reinfection of a credit card information stealer malware within the following files: app/Mage.php; lib/Varien/Autoload.php; index.php; app/code/core/Mage/Core/functions....

  32. Cookie consent script used to distribute malware

    Research Sucuri, 29 May 2018

    Since the new website cookie usage regulations in the EU have come into place, many websites have added a warning on their website about how they use cookies on it and as well, ask for your consent. This has caused many website owners to...

  33. An Old Trick with a New Twist: Cryptomining Through Disguised URL Shorteners

    Research Sucuri, 22 May 2018

    As we have previously discussed on this blog, surreptitious cryptomining continues to be a problem as new methods emerge to both evade and hasten the ease of mining at the expense of system administrators, website owners, and their visit...

  34. Massive localstorage[.]tk Drupal Infection

    Research Sucuri, 8 May 2018

    After a series of critical Drupal vulnerabilities disclosed this spring, it’s not surprising to see a surge of massive Drupal infections like this one: Massive #Drupal infection that redirects to "Tech Support" scam via "js.localstorage[...

  35. A Puzzling Backdoor Upload

    Research Sucuri, 3 May 2018

    After a successful compromise, backdoors are frequently left behind and function as a point of re-entry into the website environment . These malicious pieces of code are a valuable tool for attackers and allow them to bypass any existing...

  36. Analysis of a Malicious Blackhat SEO Script

    Research Sucuri, 26 Apr 2018

    An enormous number of SEO spam infections are handled by us here at Sucuri. In our most recent hacked website trend report, we analyzed over 34,000+ websites and identified that 44% of all website infection cases were misused for black h...

  37. How to Avoid Malware & Reinfections: Update Your Site

    Research Sucuri, 24 Apr 2018

    Keeping your website updated is important if you want it to stay safe, secure, and running smoothly. This post will dive into why regular updates aren’t just a good idea, but a must-have for a clean and healthy website. We’ll check out h...

  38. From Baidu to Google’s Open Redirects

    Research Sucuri, 18 Apr 2018

    Last week, we described how an ongoing massive malware campaign began using Baidu search result links to redirect people to various ad and scam pages. It didn’t last long. Soon after the publication of that article, the bad actors change...

  39. Unwanted Ads via Baidu Links

    Research Sucuri, 10 Apr 2018

    The malware attack that began as an installation of malicious Injectbody/Injectscr WordPress plugins back in February has evolved since then. Some of the changes were documented as updates at the bottom of the original blog post, however...

  40. Hacked Website Trend Report - 2017

    Research Sucuri, 6 Apr 2018

    We are proud to be releasing our latest Hacked Website Trend Report for 2017. This report is based on data collected and analyzed by the Sucuri Remediation Group (RG), which includes the Incident Response Team (IRT) and the Malware Resea...

  41. Obfuscation Through Legitimate Appearances

    Research Sucuri, 4 Apr 2018

    Recently, I analyzed a malware sample provided by our analyst Edward C. Woelke and noticed that it had been placed in a core WordPress folder. This seemed suspicious, since no such core WP file like it exists: ./wp-includes/init.php Dece...

  42. What is Virtual Hardening?

    Research Sucuri, 26 Mar 2018

    If you want to make your website security more robust, you need to think about hardening. To harden your website means to add different layers of protection to reduce the potential attack surface. Hardening often involves manual measures...

  43. GitHub Hosts Infostealers Part 2: Cryptominers and Credit Card Stealers

    Research Sucuri, 21 Mar 2018

    Update - March 28th, 2018: The fake Flash update files referenced in this post have been moved from GitHub to port.so[.]tl , and the bit.wo[.]tc script to byte.wo[.]tc . A few days ago, we reported that hacked Magento sites had been push...

  44. GitHub Hosts Infostealer

    Research Sucuri, 15 Mar 2018

    A few months ago, we reported on how cybercriminals were using GitHub to load a variety of cryptominers on hacked websites. We have now discovered that this same approach is being used to push binary “info stealing” malware to Windows co...

  45. Steps to Keep Your Site Clean: Access Points

    Research Sucuri, 13 Mar 2018

    Unfortunately, most website owners know what it’s like to have a site hacked - the panic, the rush to find anyone out there that can help, and the worry it causes. Maybe you were able to get your site back on track or had a company clean...

  46. Mail from the ‘Boss’ - A Classic Example of a $_POST Mailer Stealing CC Data

    Research Sucuri, 8 Mar 2018

    We often find mailer scripts while cleaning malicious code from websites. Some of them are easily discovered, while others are obfuscated or heavily encoded. These “mailers” allow bad actors to send unwanted emails from your domain, and ...

  47. Intro to Securing an Online Store - Part 2

    Research Sucuri, 6 Mar 2018

    Last year, we introduced the theme of Securing an Online Store . We talked about how to identify the potential risks and what to look out for. These principles can help in satisfying PCI DSS requirements 8 & 10: Requirement 8 - Identify ...

  48. The Impacts of Zero-Day Attacks

    Research Sucuri, 28 Feb 2018

    Last week, we explained what zero-day vulnerabilities and attacks are. Essentially, zero-day vulnerabilities exist in the wild, with no patch available to prevent hackers from exploiting it. Today, we would like to expand on the impacts ...

  49. New Guide on How to Clean a Hacked Website

    Research Sucuri, 26 Feb 2018

    Our mission at Sucuri is to make the internet a safer place and that entails cleaning up hacked websites. We have teams who actively research website vulnerabilities and who are eager to share with you some tips on how to clean your hack...

  50. Wikipedia Page Review Reveals Minr Malware

    Research Sucuri, 19 Feb 2018

    Since December, we’ve seen a number of websites with this funny looking obfuscated script injected at the very top of the HTML code (before the tag). This code is generated by the well-known JJEncode obfuscator, which was once quite popu...

Common types of WordPress compromise

WordPress compromises do not all look the same. Some are obvious to visitors, while others are designed to remain unnoticed. A site may start sending visitors to an unrelated domain, display pages or links that the owner never created, or contain a backdoor that allows an attacker to return after the visible problem has been removed.

Other compromises can involve rogue administrator accounts or fake plugins placed in the WordPress installation to blend in with legitimate software. On WooCommerce sites, malicious code may target the checkout process or other pages that handle customer data. The presence of unfamiliar code is not enough on its own to identify what happened, so the investigation needs to establish what changed, when it changed and how the attacker gained access.

Outdated components are one possible route, but compromised passwords, exposed hosting credentials and other weaknesses can also matter. WordPress recommends keeping software current, using strong passwords, controlling file permissions and maintaining reliable backups as part of normal hardening.

Signs your WordPress site may be hacked

Unexpected redirects are a common warning sign, particularly when they appear only on certain devices, browsers or traffic sources. Other clues include unfamiliar administrator users, pages you did not publish, altered titles or search snippets, unexplained file changes, new scheduled tasks, or security warnings in Google Search Console.

Performance problems can also justify investigation, but a slow site does not automatically mean malware. The same applies to unusual server load or email activity. Treat these as signals to inspect logs, files, users and recent changes rather than proof of a specific infection.

Google recommends using the Security Issues report in Search Console when hacked content or malware is suspected. A simple site search can also reveal indexed pages that do not belong to you. If you find something unexpected, record it before making changes so you have evidence to compare during cleanup.

What to do first if you think your WordPress site is hacked

Do not begin by deleting every suspicious file you can see. First take a copy of the affected site and database, note the time the problem was found and preserve relevant logs where available. This gives you something to examine if the visible symptoms return or if you need to identify the original entry point.

Change passwords for WordPress administrators, hosting, SFTP or FTP, the database and other privileged services that could have been exposed. Review all administrator accounts and remove access you do not recognise. Then decide whether the safest recovery route is a clean restoration from a known good backup or a controlled malware cleanup.

The job is not finished when the unwanted page or redirect disappears. Check themes, plugins, WordPress core, configuration files and scheduled tasks for persistence, update vulnerable components and close the route that allowed access. If Google has flagged the site, follow its hacked site guidance and request review only after the site has been cleaned. Our WordPress malware removal page explains the recovery service. Hacked Site Rescue is £249 fixed price.

Common questions

Answers to the questions we hear most about this.

How can I tell if my WordPress site has malware?

Look for unexpected redirects, unfamiliar administrator accounts, pages or links you did not create, unexplained file changes and security warnings in Google Search Console. None of these signs identifies the cause by itself, so the site still needs investigation.

Should I delete suspicious files straight away?

Not necessarily. Take a copy of the site and database first and preserve useful logs where possible. Deleting visible files before recording the incident can remove evidence without closing the route used to gain access.

Can restoring a backup fix a hacked WordPress site?

A clean backup can be an effective recovery route if it predates the compromise, but you still need to identify and fix the entry point. Otherwise the same weakness can remain after the restore.

What should I change after a WordPress hack?

Change privileged passwords, review administrator users, update vulnerable software and inspect the site for persistence such as backdoors or altered scheduled tasks. The exact steps depend on how the compromise occurred.

Think your website has been hacked?

Call us or send the details. Hacked Site Rescue is a fixed £249, and we find how the attacker got in.

Get website support