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. 5 Reasons Why Website Security Is Important

    Research Patchstack, 4 Mar 2021

    By some estimates, about 30 000 to 50 000 websites get hacked every day. The numbers are growing daily and the importance of website security is increasing rapidly. Being secure in the online world becomes more and more important every d...

  2. The Definitive Guide to Logs for WordPress Administrators

    Research Patchstack, 3 Mar 2021

    Logs for WordPress administrators - the definitive guide to all the logs WordPress site administrators can use. Logs are like unsung heroes; they store a wealth of information and have an important role in any type of software, yet they ...

  3. My Website Got Hacked! What To Do Now?

    Research Patchstack, 26 Feb 2021

    Has that ever happened to you that your website got hacked? This is a story about how Toms website got hacked, actually, multiple websites got hacked. According to statistics, over 30,000 websites get hacked every day and even a regular ...

  4. René Andersen: I Have No Problem Of Website Infections

    Research Patchstack, 26 Feb 2021

    Web designer and graphic designer René Andersen shares why his sites are protected by Patchstack and how Patchstack helps him to stay away from website infections or malware problems. René has a one-man business. He is creating awesome d...

  5. Support Meow: Hacked Websites Mean Lost Revenue

    Research Patchstack, 26 Feb 2021

    “Hacked websites mean lost revenue.” - Silver from Support Meow Silver helps WordPress owners with site management. He shares why his sites are protected by Patchstack and how Patchstack helps him to give his customers better service. Si...

  6. SQL Triggers in Website Backdoors

    Research Sucuri, 25 Feb 2021

    Over the past year, there’s been an increasing trend of WordPress malware using SQL triggers to hide malicious SQL queries within hacked databases. These queries inject an admin level user into the infected database whenever the trigger ...

  7. Critical Vulnerability in Easy WP SMTP WordPress Plugin

    Research Patchstack, 25 Feb 2021

    There is a password reset vulnerability caused by a data leak from a debug log file in the WordPress plugin Easy WP SMTP. Several hours ago, “WP eCommerce” released Easy WP SMTP WordPress plugin version 1.4.3 which patches the easily exp...

  8. Multiple Vulnerabilities In WordPress Plugin Popup Builder

    Research Patchstack, 25 Feb 2021

    The Popup Builder - Responsive WordPress Pop up - Subscription & Newsletter plugin (versions 3.71 and below) suffers from a lack of authorization in most AJAX methods. The Popup Builder WordPress plugin has 200 000+ active installations ...

  9. Bitcoin Ransom Scam Targeting Website Owners

    Research Patchstack, 25 Feb 2021

    A new wave of bitcoin ransom scam has been reported which targets website owners by claiming their sites to be hacked and asking 1500 - 3000 USD worth of bitcoins. Scammers push a narrative that the database of the website has been extra...

  10. HTTP Security Headers for WordPress: A Comprehensive Guide

    Research Patchstack, 25 Feb 2021

    Security misconfiguration has long been a top concern for website security, and in 2021, the OWASP Top 10 team highlighted it as one of the most common reasons websites are hacked. Among the potential misconfigurations, security headers ...

  11. How Your Hacked Website Can Affect Your Visitors?

    Research Patchstack, 23 Feb 2021

    Your website will always be a vital component of your business, service, or cause. However, a hacked website will cause an overflow of complications for both you and your visitors. This post will shed more light on how your hacked websit...

  12. Why Are Hackers Attacking Websites?

    Research Patchstack, 23 Feb 2021

    The problem with hackers attacking websites is on a constant rise. Month-to-month we list tens of vulnerabilities found in popular plugins that developers use on their sites. Most of these are being targeted by hackers. We monitor the si...

  13. Website Hacking Statistics You Should Know in 2022

    Research Patchstack, 22 Feb 2021

    In this article, you can read about the latest website hacking statistics from 2022. These updated statistics on website hacking should give you an idea of just how difficult it is to ensure website security each passing year. Any softwa...

  14. Optimizing Performance and Behavior with WordPress and the Sucuri WAF

    Research Sucuri, 9 Feb 2021

    Aside from providing significant protection from a wide range of threats, the Sucuri WAF also acts as a CDN due to its caching capabilities and regional PoPs - often performing even better than dedicated CDNs based on recent tests. CDNs ...

  15. Whitespace Steganography Conceals Web Shell in PHP Malware

    Research Sucuri, 2 Feb 2021

    Last November, we wrote about how attackers are using JavaScript injections to load malicious code from legitimate CSS files. At first glance, these injections didn’t appear to contain anything except for some benign CSS rules. A more th...

  16. Magento PHP Injection Loads JavaScript Skimmer

    Research Sucuri, 21 Jan 2021

    A Magento website owner was concerned about malware and reached out to our team for assistance. Upon investigation, we found the website contained a PHP injection in one of the Magento files: ./app/code/core/Mage/Payment/Model/Method/Cc....

  17. Critical Vulnerabilities in 123contactform-for-wordpress WordPress Plugin

    Research Sucuri, 19 Jan 2021

    In mass infection scenarios, our Malware Research team often looks for attack vectors to find patterns and other similarities among compromised websites. The identification of these patterns allows us to deploy better and faster solution...

  18. Evaluating Cookies to Hide Backdoors

    Research Sucuri, 7 Jan 2021

    Identifying website backdoors is not always an easy task. Since a backdoors primary function is to conceal itself while providing unauthorized access, they are often developed using a variety of techniques that can make it challenging to...

  19. Bogus CSS Injection Leads to Stolen Credit Card Details

    Research Sucuri, 5 Jan 2021

    A client recently reported their customers were receiving antivirus warnings when trying to access and purchase products from a Magento ecommerce website. This is almost always a telltale sign that something is amiss, and so I began my i...

  20. SEO Spam Links in Nulled Plugins

    Research Sucuri, 29 Dec 2020

    It’s not unusual to see website owners running things on a budget. Choosing a safe and reliable hosting company, buying a nice domain name, boosting posts on social media, and ranking on search engines - all this costs a lot of money. At...

  21. The Dangers of Using Abandoned Plugins & Themes

    Research Sucuri, 17 Dec 2020

    It’s not very often that we see abandoned components being used on a website - but when we do, it’s most often because the website was exhibiting malware-like behavior and we were called to investigate and clean up the site. Old and aban...

  22. Why You Should Monitor Your Website

    Research Sucuri, 15 Dec 2020

    In an effort to maintain unauthorized access or profit off a website’s environment long after an initial compromise, attackers commonly leverage a variety of different techniques and tactics. These techniques range from adding backdoors,...

  23. Malware Dropper Takes Advantage of COVID-19 Pandemic

    Research Sucuri, 10 Dec 2020

    Since April, our team has been tracking the spread of a PHP malware dropper. It’s impacting unsuspecting victims who thought they were downloading a mapping software to monitor the spread of the COVID-19 pandemic. While the attack is lik...

  24. Fake WordPress Functions Conceal assert() Backdoor

    Research Sucuri, 8 Dec 2020

    A few weeks ago, I was manually inspecting some files on a compromised website. While checking on a specific WooCommerce file, I noticed something interesting. Among 246 other lines, this very specific part stood out to me: $config = wp_...

  25. Obfuscation Techniques in MARIJUANA Shell “Bypass”

    Research Sucuri, 4 Dec 2020

    Attackers are always trying to come up with new ways to evade detection from the wide range of security controls available for web applications. This also extends to malware like PHP web shells, which are typically left on compromised we...

  26. “Free” Symchanger Malware Tricks Users Into Installing Backdoor

    Research Sucuri, 1 Dec 2020

    In a previous post, I discussed how attackers can trick website owners into installing malware onto a website - granting the attacker the same unauthorized access as if they had exploited a vulnerability or compromised login details for ...

  27. Hackers Love Expired Domains

    Research Sucuri, 26 Nov 2020

    Sometimes, website owners no longer want to own a domain name and they allow it to expire without attempting to renew it. This happens all the time and is totally normal, but it’s important to remember that attackers regularly monitor do...

  28. Hidden SEO Spam Link Injections on WordPress Sites

    Research Sucuri, 23 Nov 2020

    Often when a website is injected with SEO spam, the owner is completely unaware of the issue until they begin to receive warnings from search engines or blacklists. This is by design - attackers intentionally try to prevent detection by ...

  29. PrestaShop SuperAdmin Injector and Login Stealer

    Research Sucuri, 18 Nov 2020

    According to W3Tech’s data, PrestaShop is among the most popular CMS choices for existing ecommerce websites, so it should come as no surprise that malware has been created to specifically target these environments. We recently came acro...

  30. Evasive Maneuvers in Data Stealing Gateways

    Research Sucuri, 17 Nov 2020

    We have already shared examples of many kinds of malware that rely on an external gateway to receive or return data, such as different malware payloads. During a recent investigation, we came across this example of a PHP script that atta...

  31. Another Credit Card Stealer That Pretends to Be Sucuri

    Research Sucuri, 12 Nov 2020

    During a routine investigation, we found yet another web skimmer that pretends to be related to Sucuri. One of our Remediation Analysts, Liam Smith, found the following code injected into the database of a Magento site. The first 109 lin...

  32. Code Comments Reveal SCP 173 Malware

    Research Sucuri, 10 Nov 2020

    We sometimes find malware code injections that contain strange code comments, which are normally used by programmers to annotate a section of code - for example, a short description of a feature or functionality for other developers to r...

  33. Legacy Mauthtoken Malware Continues to Redirect Mobile Users

    Research Sucuri, 5 Nov 2020

    During malware analysis, we regularly find variations of this injected script on various compromised websites: . The variable “ _0x446d ” assigns hex encoded strings in different positions in the array. If we get the ASCII representation...

  34. CSS-JS Steganography in Fake Flash Player Update Malware

    Research Sucuri, 2 Nov 2020

    This summer, MalwareBytes researcher Jérôme Segura wrote an article about how criminals use image files (.ico) to hide JavaScript credit card stealers on compromised e-commerce sites. In a tweet, Affable Kraut also reported another simil...

  35. Reflected XSS in WordPress v5.5.1 and Lower

    Research Sucuri, 30 Oct 2020

    WordPress released version 5.5.2 yesterday, which fixed a reflected XSS vulnerability we reported earlier this year. The root cause of this issue is a bug in the way WordPress determines a user’s current page, and which may cause a few o...

  36. Bridging the Gap Between Application and Network Security with CleanBrowsing

    Research Sucuri, 30 Oct 2020

    When we started Sucuri we set out to make enterprise security accessible, affordable, and effective for every day webmasters. It was at a time when open-source platforms like WordPress, Joomla!, Drupal, and others were changing the web l...

  37. 5 Places Where You’d Never Expect to Get Hacked

    Research Sucuri, 28 Oct 2020

    For every gleaming new IoT device that hits the market, a hacker somewhere is figuring out how to compromise it. Today, even routine activities can land you in the sights of a bad actor. Imagine what a bad day could look like in this era...

  38. R_Evil WordPress Hacktool & Malicious JavaScript Injections

    Research Sucuri, 22 Oct 2020

    We often see hackers reusing the same malware, with only a few new adjustments to obfuscate the code so that it is more difficult for scanning tools to detect. However, sometimes entirely new attack tools are created and deployed by thre...

  39. Sucuri Sit-Down Episode 4: XSS & WP Plugin Vulnerabilities with Antony Garand

    Research Sucuri, 15 Oct 2020

    October is National Cyber Security Awareness Month, and we’re back with analyst Antony Garand to take a deeper look into cross site scripting (XSS) attacks and WordPress plugin vulnerabilities. Plus, host Justin Channell will catch you u...

  40. Magento Phishing Leverages JavaScript For Exfiltration

    Research Sucuri, 14 Oct 2020

    During a recent investigation, a Magento admin login phishing page was found on a compromised website using the file name wp-order.php . This is an odd file name choice for a Magento phishing page, but nevertheless it successfully loads ...

  41. Redirects to YouTube Defacement Channel

    Research Sucuri, 13 Oct 2020

    During a recent investigation, we found an infected website was redirecting to YouTube after its main index.php file had been modified to include the following line of HTML: This technique works because it’s possible to use HTML within ....

  42. Backdoor Shell Dropper Deploys CMS-Specific Malware

    Research Sucuri, 6 Oct 2020

    A large majority of the malware we find on compromised websites are backdoors that allow an attacker to maintain unauthorized access to the site and execute whatever commands they want. Another common scenario includes malware which is d...

  43. GFX Xsender Hack Tool: A Spam Mailer

    Research Sucuri, 1 Oct 2020

    PHP hack tools are created and used by attackers to help automate frequent or tedious tasks. During a recent investigation, we came across a hack tool used to simplify the process of sending predefined HTML emails to a list of email addr...

  44. Malicious Pop-up Redirects Baidu Traffic

    Research Sucuri, 29 Sep 2020

    Malicious pop-ups and redirects have become two extremely common techniques used by attackers to drive traffic wherever they want. \ During a recent investigation, we came across an obfuscated pop-up script leveraging baidu[.]com search ...

  45. Backdoor Obfuscation: tempnam & URL Encoding

    Research Sucuri, 28 Sep 2020

    In an attempt to avoid detection, attackers and malware authors are always experimenting with different methods to obfuscate their malicious code. During a recent investigation, we came across an interesting backdoor that was leveraging ...

  46. Magento Credit Card Stealing Malware: gstaticapi

    Research Sucuri, 25 Sep 2020

    Our team recently came across a malicious script used on a Magento website titled gstaticapi, which targeted checkout processes to capture and exfiltrate stolen information. To obtain sensitive details, the malware loads external javascr...

  47. Malicious One-Liner Using Hastebin

    Research Sucuri, 23 Sep 2020

    Short scripts that deliver malware to a website are nothing new, but during a recent investigation we found a script using hastebin[.]com , which is a domain we see used infrequently. The script was found writing malicious contents into ...

  48. The Hidden PHP Malware that Reinfects Cleaned Files

    Research Sucuri, 18 Sep 2020

    Website reinfections are a serious problem for website owners, and it can often be difficult to determine the cause behind the reinfection - especially if you lack access to necessary logs, which is usually the case for shared hosting se...

  49. phpbash - A Terminal Emulator Web Shell

    Research Sucuri, 16 Sep 2020

    It’s common for hackers to utilize post-compromise tools that contain a graphical user interface (GUI) that can be loaded in the web browser. A GUI generally makes the tool easier to use - and certainly more visually appealing than just ...

  50. WordPress Malware Disables Security Plugins to Avoid Detection

    Research Sucuri, 10 Sep 2020

    An alarm or monitoring system is a great tool that can be used to improve the security of a home or website, but what if an attacker can easily disable it? I’ve previously written about malware that reverses security hardening measures e...

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