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 1 min ago.

  1. New Guide on How to Clean a Hacked Drupal Sites

    Research Sucuri, 11 Jul 2017

    Drupal is an open-source content management system and website builder with a unique structure that allows it to be highly flexible and extendible. For these reasons and more, it’s favored by technical developers and many large websites,...

  2. Evolution of Conditional Spam Targeting Drupal Sites

    Research Sucuri, 5 Jul 2017

    Last year we took a look at how attackers were infecting Drupal installations to spread their spam and keep their campaigns going by just including a malicious file in each visitor’s session. If your Drupal site has been compromised, we ...

  3. SQL Injection Vulnerability in WP Statistics

    Research Sucuri, 30 Jun 2017

    Update 11/3/2017: We are always looking for the latest to be shared with you and now we have released our WordPress Security Guide, were you can read all about vulnerabilities and best practices to keep your website protected. As part of...

  4. Securing Your Computer: A Primer for Windows and Mac Users

    Research Sucuri, 27 Jun 2017

    In this post we’ll be focusing on a part of your digital life that quietly influences everything else: the computer you use to log into accounts, manage websites, edit files, and store personal data. Even if you’re diligent about passwor...

  5. Unwanted “Shorte St” Ads in Unpatched Newspaper Theme

    Research Sucuri, 20 Jun 2017

    Unwanted ads are one of the most common problems that site owners ask us to solve. Recently, we’ve noticed quite a few requests to remove intrusive “ shorte st ” ads that they never installed on their sites themselves. My colleague Denis...

  6. Yet Another Expired Domain causes WP Plugin to Redirect Users

    Research Sucuri, 20 Jun 2017

    Malicious redirects are very common in compromised websites. Attackers try to take advantage of the site resources to promote spam, distribute other malware/backdoors, and perform all kinds of malicious activities. The type of attack des...

  7. When Your Plugins Turn Against You

    Research Sucuri, 13 Jun 2017

    Every day we face countless cases of sites getting compromised and infected by an attacker. From there, the sites can be used for various operations like spam campaigns, malware spreading or simply to damage your SEO ranking among other ...

  8. Undesired Redirects

    Research Sucuri, 13 Jun 2017

    Whether it is your own or a website you are visiting, undesired redirects and pop-ups are always annoying. The situation gets worse when your visitors start to get infected and your SEO ranking starts to drop. During an Incident Response...

  9. Labs Notes Monthly Recap - May/2017

    Research Sucuri, 6 Jun 2017

    Sucuri Labs provides website malware research updates directly from our teams on the front line. You can read past-monthly recaps to catch up on trends we look at every month. This month, our Malware Research and Incident Response teams ...

  10. How Undefined Variables Can Give You RCE

    Research Sucuri, 5 Jun 2017

    When investigating a compromised website, our team has to make sure that all malware and backdoors are cleared from the environment. In some instances, these backdoors are easier to detect than others, but that’s not always the case. Att...

  11. Spotlight: How a Digital Marketing Agency Secures Client Sites

    Research Sucuri, 2 Jun 2017

    Based in Melbourne, Australia for over 17 years, 24Digital knows what it takes to succeed in the ever-evolving digital marketing space which is no longer a world resting on desktop alone. The goal is to be an extension to every client’s ...

  12. The elegant dropper - reusable code for PHP shell installation

    Research Sucuri, 31 May 2017

    During our malware research role, we analyze hundreds (if not thousands) of malware samples every day. Quite often, highly-obfuscated techniques are used by attackers to avoid detection and maintain access to the compromised environment ...

  13. Simple $_COOKIE backdoor (variation)

    Research Sucuri, 30 May 2017

    There are many ways to develop a backdoor and virtually all of them share a similar goal - not to be discovered. To achieve that, some attackers are giving up on using $_POST and $_GET variables, obfuscation techniques, etc, and playing ...

  14. Personal Security Guide - Online Accounts

    Research Sucuri, 23 May 2017

    In our last post on browser security, we talked about how developing a broader security mindset can help keep your website safe. By taking steps to secure your online accounts you can prevent hackers from gaining unauthorized access to y...

  15. Personal Security Guide - Web Browsers

    Research Sucuri, 19 May 2017

    If your computer is infected, malware can spread to your website through text editors and FTP clients. Weak passwords are also vulnerable to brute force attacks, and using unsecured networks to access the internet can leave you exposed t...

  16. Website Availability and Security When Migrating Hosts

    Research Sucuri, 12 May 2017

    Website security is a continuous process. It’s not something that should be turned on when the time is right; rather integrated into the full scope of how you deploy a website, maintain it, and ensure the safety of your visitors. At Sucu...

  17. Tricky malvertising injections

    Research Sucuri, 10 May 2017

    When a website is compromised, one of the most interesting and challenging tasks we perform is identifying all malware to prevent attackers from regaining access to the resource. They may use different type of malicious codes and techniq...

  18. Client-Side or Server-Side Script?

    Research Sucuri, 3 May 2017

    We’ve already described several times how credit card stealing malware hides a data collecting script behind an image URL. When people see URLs that end with .jpg , .png , or .gif they normally don’t expect them to do anything malicious....

  19. Labs Notes Monthly Recap - Apr/2017

    Research Sucuri, 2 May 2017

    This month, our Malware Research and Incident Response teams wrote about several malware techniques that attempt to evade detection by focusing on small changes that website owners might miss. Examples include typos in domain names, unus...

  20. Website Malware: Unwanted Exit to YourBrexit

    Research Sucuri, 20 Apr 2017

    Some website hacks aim to make some political statements. Defacements are well known for this. Some infections redirect visitors to scam sites that push (usually counterfeit) goods or (often illegal) services. But what would you feel if ...

  21. Titles, Imprints and Marks Left by Attackers

    Research Sucuri, 18 Apr 2017

    Some attackers seem to like signing their scripts. This fact is especially true for defacements and backdoors, where attackers show their pride stating that they “owned” a site by signing their own malware. Sometimes they write their exp...

  22. Labs Notes Monthly Recap - Mar/2017

    Research Sucuri, 14 Apr 2017

    Every month we recap the latest posts on Sucuri Labs, written by our Malware Research Team (MRT) and Incident Response Team (IRT). Sucuri Labs provides website malware research updates directly from our teams on the front line. You can r...

  23. Malicious Image Defacement Hidden from Search Engines

    Research Sucuri, 11 Apr 2017

    After carefully designing a theme and images that represent your brand, nothing is worse than seeing a malicious image suddenly associated with your business or website. In a recent blog post, we discussed a case in which a lewd image ap...

  24. Ecommerce Security - Customer Data Breaches Using Images

    Research Sucuri, 6 Apr 2017

    Since late last year, there has been a steady rise in malware campaigns that aim to steal sensitive personal information and financial credentials. Attackers often insert pieces of malicious code in the middle of a shopping cart process,...

  25. WordPress Security - Unwanted Redirects via Infected JavaScript Files

    Research Sucuri, 4 Apr 2017

    We’ve been watching a specific WordPress infection for several months and would like to share details about it. The attacks inject malicious JavaScript code into almost every .js file it can find. Previous versions of this malware inject...

  26. WebSockets, Viagra and Fake CloudFlare CDN

    Research Sucuri, 3 Apr 2017

    Recently we’ve seen some WordPress websites displaying unwanted banners at the bottom of the page which appear 15 seconds after browsing the website. Those banners are being generated due to the following code being injected into the the...

  27. Spotting a Hidden SEO Hack: “Play One”

    Research Sucuri, 30 Mar 2017

    SEO hacks continue to plague websites as attackers abuse SERP rankings for their own gain. The time and effort spent by the website owner creating content, optimizing pages and building links is stolen by an attacker in an instant. For m...

  28. Malicious Subdirectories Strike Again

    Research Sucuri, 17 Mar 2017

    In a previous post, we illustrated how attackers were fetching information from compromised sites under their control to display spam content on other hacked websites. By adding malicious files into a directory and using the victim’s dat...

  29. Attackers Silently add new user with Administrator role to WordPress sites

    Research Sucuri, 16 Mar 2017

    Attackers tend to get smarter in order to avoid detection, as well as gain access to your WordPress site. They use legit functions of the WordPress core to create users, post spammy content, and other kinds of malicious activities. Most ...

  30. SEO Spam Campaign Exploiting WordPress REST API Vulnerability

    Research Sucuri, 15 Mar 2017

    Just over a week ago, WordPress released version 4.7.3 to patch multiple security issues. Despite the automatic update feature provided by many hosting companies, there are still many WordPress websites that have not been updated. In fac...

  31. Stored XSS in WordPress Core

    Research Sucuri, 13 Mar 2017

    As you might remember, we recently blogged about a critical Content Injection Vulnerability in WordPress which allowed attackers to deface vulnerable websites. While our original disclosure only described one vulnerability, we actually r...

  32. Set your Cookie, Execute a Command

    Research Sucuri, 9 Mar 2017

    Backdoors evolve. They tend to get more complex, harder to understand and harder to decode, but this is not always the case. Most of the backdoors rely on PHP-enabled engine options that allow execution of commands. Also, those options d...

  33. vBulletin Used to Show Malicious Advertisements

    Research Sucuri, 6 Mar 2017

    In the past, we have seen a massive amount of vBulletin websites compromised through the VBSeo Vulnerability. Attackers have been infecting vBulletin websites since 2012 with this malware, and more recently with a new variation of the sa...

  34. Labs Notes Monthly Recap - Feb/2017

    Research Sucuri, 3 Mar 2017

    Every month we recap the latest posts on Sucuri Labs, written by our Malware Research Team (MRT) and Incident Response Team (IRT). The Sucuri Labs website provides technical analysis and industry updates directly from our teams on the fr...

  35. Monetized JavaScript Redirect to Free Porn Webcams for Mobile Devices

    Research Sucuri, 2 Mar 2017

    Attackers will do desperate and obvious things to boost the views of their ‘customers’. On a daily basis we find different malicious redirects (some are very well hidden, others not so much). The case with this JavaScript redirect is not...

  36. Ghost from the Past

    Research Sucuri, 28 Feb 2017

    Some sites may stay infected or not properly cleaned for years. Eventually, they come to us and we clean them. It doesn’t matter whether the malware is old or new. But old malware may tell stories for those who can read it. For example, ...

  37. SQL Injection Vulnerability in NextGEN Gallery for WordPress

    Research Sucuri, 27 Feb 2017

    As part of a vulnerability research project for our Sucuri Firewall (WAF), we have been auditing multiple open source projects looking for security issues. While working on the WordPress plugin NextGEN Gallery, we discovered a severe SQL...

  38. When malware injection goes wrong

    Research Sucuri, 23 Feb 2017

    Today while scanning a client’s website, I found a failed attempt by attackers to hide the location of a backdoor. It is very common for us to find backdoor uploaders on websites, as they are one of the principle ways attackers upload ma...

  39. Spam content injection

    Research Sucuri, 21 Feb 2017

    During a recent incident response investigation, we detected an infected website loading spam content from another location. The malware was responsible for fetching the spam and displaying it on the front page without the client’s knowl...

  40. Joomla Security - Pornography Spam Campaign in the Wild

    Research Sucuri, 20 Feb 2017

    One of the worst experiences for a website owner is finding out that the search results for your site have turned into a pharmacy, a fashion outlet, or even a porn dump. Those unwanted keywords are a result of Search Engine Poisoning (SE...

  41. WordPress Security - Fake TrafficAnalytics Website Infection

    Research Sucuri, 17 Feb 2017

    Several months ago, our research team identified a fake analytics infection, known as RealStatistics. The malicious Javascript injection looks a lot like tracking code for a legitimate analytics service. RealStatistics even set up fake a...

  42. .user.ini SPAM SEO Redirect

    Research Sucuri, 17 Feb 2017

    Since PHP 5.3.0, PHP includes support for configuration INI files on a per-directory basis that has the same effect (depending on the case) that the .htaccess files have on Apache. With that in mind, attackers are exploiting this feature...

  43. Backdooring sites using exotic php functions

    Research Sucuri, 16 Feb 2017

    Throughout the last few months, we published multiple articles about simple but powerful backdoors and how attackers get creative. Virtually in all cases, the code is designed to avoid detection and it’s not always highly encoded. Actual...

  44. New Guide on How to Fix Hacked Magento Sites

    Research Sucuri, 15 Feb 2017

    Ecommerce refers to websites that involve online purchases. This functionality sparks new challenges, concerns, and requirements for website security. Online shopping, to many people, is almost synonymous with a certain kind of risk - an...

  45. Labs Notes Monthly Recap - Jan/2017

    Research Sucuri, 14 Feb 2017

    Every month we recap the latest posts on Sucuri Labs, written by our Malware Research Team (MRT) and Incident Response Teams (IRT). The Sucuri Labs website provides technical analysis and industry updates directly from our teams on the f...

  46. Hiding malicious code from the user using white spaces

    Research Sucuri, 14 Feb 2017

    Over the years, attackers have used different techniques for hiding malicious files on websites. They obfuscated code, changed legit functions to execute malware, modified whole core files to execute their malicious activity and much mor...

  47. RCE Attempts Against the Latest WordPress REST API Vulnerability

    Research Sucuri, 9 Feb 2017

    We are starting to see remote command execution (RCE) attempts trying to exploit the latest WordPress REST API Vulnerability. These RCE attempts started today after a few days of attackers (mostly defacers) rushing to vandalize as many p...

  48. JavaScript Injections Leads to Tech Support Scam

    Research Sucuri, 9 Feb 2017

    During a recent malware investigation, we found some interesting obfuscated Javascript code. This code pretends to appear as part of the popular AddThis social sharing plugin, using it in URL naming conventions and an image file. The mal...

  49. Checking blacklisted domains or IP for spamming

    Research Sucuri, 8 Feb 2017

    Often times we will encounter websites that have been injected with a redirect and these can vary from blackhat SEO tactics for boosting domain rankings all the way to phishing pages trying to steal login credentials. In this case, the r...

  50. WordPress REST API Vulnerability Abused in Defacement Campaigns

    Research Sucuri, 6 Feb 2017

    WordPress 4.7.2 was released two weeks ago, including a fix for a severe vulnerability in the WordPress REST API. We have been monitoring our WAF network and honeypots closely to see how and when the attackers would try to exploit this i...

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