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 6 min ago.
- Reflected XSS in WordPress Plugin Admin Pages
Research Sucuri, 8 Sep 2020
The administrative dashboard in WordPress is a pretty safe place: Only elevated users can access it. Exploiting a plugin’s admin panel would serve very little purpose here - an administrator already has the required permissions to do all...
- Insufficient Privilege Validation in NextScripts: Social Networks Auto-Poster
Research Sucuri, 4 Sep 2020
NextScripts: Social Networks Auto-Poster is a plugin that automatically publishes posts from your blog to your Social Media accounts such as Facebook, Twitter, Google+, Blogger, Tumblr, Flickr, LinkedIn, Instagram, Telegram, YouTube, Wor...
- Critical Vulnerability in File Manager Plugin Affecting 700k WordPress Websites
Research Sucuri, 2 Sep 2020
Yesterday, the WordPress plugin File Manager was updated, fixing a critical vulnerability allowing any website visitor to gain complete access to the website. Users of our WAF were never vulnerable to this exploit. The Sucuri firewall bl...
- Using assert() to Execute Malware in PHP 7 Environments
Research Sucuri, 1 Sep 2020
Initially released December 2015, PHP 7 introduced a multitude of performance and security improvements. Approximately 43.7% of websites across the web currently use PHP 7.x, making it an incredibly popular scripting language - which is ...
- Persistent WordPress User Injection
Research Sucuri, 28 Aug 2020
Our team recently stumbled across an interesting example of malicious code used to add an arbitrary user inside WordPress. The following code was detected at the bottom of the theme’s functions.php. I t uses internal WordPress functions ...
- Magento Multiversion (1.x/2.x) Backdoor
Research Sucuri, 26 Aug 2020
The Magento 1 EOL date has already passed, however it’s evident that a large number of websites will continue to use it for the foreseeable future. Unfortunately, attackers are also aware that many websites are struggling with their Mage...
- Multiple Vulnerabilities In Discount Rules for WooCommerce Plugin
Research Patchstack, 20 Aug 2020
There are SQLi and unauthenticated stored XSS vulnerabilities in Discount Rules for the WooCommerce WordPress plugin. The Discount Rules for the WooCommerce plugin (versions 2.0.2 and below) suffer from multiple vulnerabilities such as S...
- CDN-Filestore Credit Card Stealer for Magento
Research Sucuri, 18 Aug 2020
During a website remediation, we recently discovered a new version of a Magento credit card stealer which sends all compromised data to the malicious domain cdn-filestore[dot]com . My colleague Luke Leal originally wrote about this malwa...
- Web Crawler & User Agent Blocking Techniques
Research Sucuri, 14 Aug 2020
This is a simple script that allows hackers to block specific crawlers based upon website requests from specific user-agents. This is useful when you don’t want certain traffic from being able to load certain content - usually a phishing...
- Smoker Backdoor: Evasion Techniques in Webshell Backdoors
Research Sucuri, 13 Aug 2020
“Smoker Backdoor” is a PHP webshell backdoor that uses hexadecimal and decimal obfuscation in conjunction with the PHP function goto to evade detection from malware scanners. The hexadecimal/decimal obfuscation is clear to see when viewi...
- String Concatenation: Obfuscation Techniques
Research Sucuri, 12 Aug 2020
While string concatenation has many valuable applications in development - such as making code more efficient or functions more effective - it is also a popular way for attackers to obfuscate code and try to make it more difficult to det...
- PHP Binary Downloader
Research Sucuri, 7 Aug 2020
When possible, an attacker will want to avoid using specific functions in their PHP code that they know are more likely to be flagged by a scanner. Some examples of suspicious functions commonly detected include system and file_put_conte...
- PHP Backdoor Obfuscated One Liner
Research Sucuri, 5 Aug 2020
In the past, I have explained how small one line PHP backdoors use obfuscation and strings of code in HTTP requests to pass attacker’s commands to backdoors. Today, I’ll highlight another similar injection example and describe some of th...
- Vulnerabilities Digest: July 2020
Research Sucuri, 3 Aug 2020
Relevant Plugins and Vulnerabilities: Plugin Vulnerability Patched Version Installs Asset CleanUp: Page Speed Authenticated XSS 1.4.6.7 80000 Quiz And Survey Master Authenticated Stored XSS 7.0.0 30000 Comments - wpDiscuz 7.0.0 - Arbitra...
- SEO Hacktool: Sitemap Generator
Research Sucuri, 30 Jul 2020
An XML sitemap is an important part of a website’s SEO and exists to help search engine crawlers index new URLs on your website. For example, if a site has a large number of pages that were recently updated and the owner wants Google to ...
- Reverse String WooCommerce WordPress Credit Card Swiper
Research Sucuri, 27 Jul 2020
As 2020 continues to be the worst year in almost anybody’s lifetime, allow me to take this opportunity to stoke the fires of your existential dread even further. As a sequel to my last blog post earlier this year about the credit card sw...
- Skimmers in Images & GitHub Repos
Research Sucuri, 22 Jul 2020
MalwareBytes recently shared some information about web skimmers that store malicious code inside real .ico files. During a routine investigation, we detected a similar issue. Instead of targeting .ico files, however, attackers chose to ...
- Fake WordPress Plugin SiteSpeed Serves Malicious Ads & Backdoors
Research Sucuri, 16 Jul 2020
Fake WordPress plugins appear to be trending as an effective way of establishing a foothold on compromised websites. During a recent investigation, we discovered a fake component which was masquerading as a legitimate plugin. Named SiteS...
- Pirated WordPress Plugins Bundled with Backdoors
Research Sucuri, 8 Jul 2020
One widespread belief among webmasters is that attackers typically only compromise websites in a couple of ways: by exploiting vulnerabilities or stealing login credentials. Although these are certainly two of the more common attack vect...
- Vulnerabilities Digest: June 2020
Research Sucuri, 6 Jul 2020
Highlights for June 2020 Cross site scripting is still the most common vulnerability in WordPress Plugins. Bad actors are taking advantage of the lack of restrictions in critical functions and issues surrounding user input data sanitizat...
- Sucuri Sit-Down Episode 2: Malware Types Explained with Krasimir Konov
Research Sucuri, 24 Jun 2020
Malware comes in many different varieties. Analyst Krasimir Konov is on this month’s Sucuri Sit-Down to help keep them all straight. From malicious iframes to SEO spam, join host Justin Channell as he racks Krasimir’s brain on all the di...
- Cross Site Scripting in YITH WooCommerce Ajax Product Filter
Research Sucuri, 22 Jun 2020
During a routine research audit for our Sucuri Web Application Firewall, we discovered a cross-site scripting (XSS) vulnerability affecting 100,000+ users of the YITH WooCommerce Ajax Product Filter plugin. Current State of the Vulnerabi...
- Vulnerable Plugins: June 2020 Update
Research Sucuri, 19 Jun 2020
This is a mid-month update to our regular Monthly Vulnerability Digest , which reveals a number of new patches for disclosed vulnerabilities. Plugin Vulnerability Patched Version Installs Elementor Page Builder Authenticated Stored XSS 2...
- Experience + Technology: How We Clean Infected Websites at Sucuri
Research Sucuri, 16 Jun 2020
Our malware removal service is particularly effective because it combines automated and human elements. The process gets off to a quick start thanks to cleanup scripts developed by our threat researchers. Real people also get their hands...
- What is the Gibberish Hack?
Research Sucuri, 12 Jun 2020
Discovering some random folder with numbers and letters you don’t remember on your website would make any website owner put on their detective cap. At first, you may think, “Did I leave my FTP client open and my cat ran across the keyboa...
- What is a Website Defacement?
Research Sucuri, 9 Jun 2020
Website defacement is the most obvious sign of a hack. In these cases, bad actors who have gained access to an environment leave their mark through digital vandalism. For website owners, it means trying to access your homepage, only to f...
- Evasion Tactics in Hybrid Credit Card Skimmers
Research Sucuri, 5 Jun 2020
The most common type of Magento credit card stealing malware is client-side JavaScript that grabs data entered in a checkout form and sends it to a third-party server controlled by the attackers. Though popular with bad actors, one of th...
- Labs Notes Monthly Recap - May/2020
Research Sucuri, 3 Jun 2020
In 2020, we doubled up our research efforts to report on many new attacks and hacks that we see in the wild. We believe that being informed is a big part of having a good website security posture. Sucuri Labs provides website malware res...
- Malicious Curl Downloader
Research Sucuri, 2 Jun 2020
If you want to easily download and save remote files, curl is an excellent command-line tool for Windows and Unix. It supports HTTP, HTTPS, and FTP protocols and allows for custom HTTP headers, which makes it a common feature in some of ...
- Vulnerabilities Digest: May 2020
Research Sucuri, 29 May 2020
Relevant Plugins and Vulnerabilities: Plugin Vulnerability Patched Version Installs WP Product Review Unauthenticated Stored XSS 3.7.6 40000 Form Maker by 10Web Authenticated SQL Injection - 100000 Add-on SweetAlert Contact Form 7 Authen...
- Understanding & Stopping Malicious Redirects
Research Sucuri, 22 May 2020
Many website owners don’t know they’re infected with malicious redirects until they start getting calls from wary customers. Instead of the site they were expecting, it loaded some pretty shady content from the nether reaches of the inte...
- What is FTP? Why use it to clean hacked websites?
Research Sucuri, 18 May 2020
The File Transfer Protocol (FTP) is a network protocol used to transfer files between a client server and a network. In other words, it is through FTP that we get text and images onto a website. Why is FTP used to clean up a website? Not...
- WordPress Malware Collects Sensitive WooCommerce Data
Research Sucuri, 15 May 2020
During a recent investigation, our team found malicious code that reveals how attackers are performing reconnaissance to identify if sites are actively using WooCommerce in a compromised hosting environment. These compromised websites ar...
- Unauthenticated Stored Cross Site Scripting in WP Product Review
Research Sucuri, 14 May 2020
During a routine research audit for our Sucuri Firewall , we discovered an Unauthenticated Persistent Cross-Site Scripting (XSS) affecting 40,000+ users of the WP Product Review plugin. Current State of the Vulnerability Though this secu...
- B374k Web Shell Packer
Research Sucuri, 13 May 2020
PHP web shells are a type of backdoor which, when left on compromised websites, allow attackers to maintain unauthorized access after initial compromise. To further evade detection, attackers may also choose to keep a packer script on a ...
- YouTube Account Recovery Phishing
Research Sucuri, 12 May 2020
Phishing attacks against targeted channels have been successful in the past, as explained last year on ZDNet. Recently, our Remediation team found an interesting phishing page following a similar pattern that was targeting YouTube creato...
- Elementor PRO Vulnerability And Attack Analysis
Research Patchstack, 8 May 2020
This article analyses the Elementor PRO Vulnerability vulnerabilities. Elementor PRO is a page builder for WordPress with approximately 1+ million users. On the 4th of May, many websites had a suspicious subscriber registering to the sit...
- Labs Notes Monthly Recap - April/2020
Research Sucuri, 4 May 2020
In 2020, we doubled up our research efforts to report on many new attacks and hacks that we see in the wild. We believe that being informed is a big part of having a good website security posture. Sucuri Labs provides website malware res...
- Vulnerabilities Digest: April 2020
Research Sucuri, 1 May 2020
Relevant Plugins and Vulnerabilities: Plugin Vulnerability Patched Version Installs Widget Settings Importer/Exporter Stored XSS Closed 40000 Accordion Stored/Reflected XSS 2.2.9 30000 Support Ticket System By Phoeniixx Reflected XSS Clo...
- WordPress Admin Login Stealer
Research Sucuri, 27 Apr 2020
During an investigation, we identified a WordPress login stealer using the PHP functions curl and file_get_contents . The malicious code was injected into the core file wp-login.php to intercept the information of a valid user and send i...
- Duplicated Vulnerabilities in WordPress Plugins
Research Sucuri, 24 Apr 2020
During a recent plugin audit, we noticed a weird pattern among many plugins responsible for performing a specific task: Duplicating a page or a post. With a bit of research, we came to the following conclusion: Many of these plugins came...
- Web Skimmer With a Domain Name Generator - Follow Up
Research Sucuri, 23 Apr 2020
This note is a follow up to our recent post about a web skimmer that uses a dynamic domain name generating algorithm. This week, analyst Ben Martin found another variation of the same malware. The script looks very similar. The changes h...
- PinnacleCart Server-Side Skimmers and Backdoors
Research Sucuri, 22 Apr 2020
While open-source ecommerce platforms are the most common targets for web skimmers, hackers also target paid-for software - especially if it’s used on high-profile online stores with large user-bases. This time, our analysts Kara Federow...
- Fake M-Shield WordPress Plugin
Research Sucuri, 21 Apr 2020
During a recent malware investigation, we found a fake WordPress plugin called M-Shield . We also found almost an identical plugin under the name kingof , with malicious code hosted in the file: ./wp-content/plugins/kingof/kingof.php Bas...
- Obfuscated WordPress Malware Dropper
Research Sucuri, 21 Apr 2020
It goes without saying that evasive maneuvering is at the top of a hacker’s priority list. Most often, they try to evade detection by obfuscating their malicious code to make it unreadable to the naked eye. In our recent post we demonstr...
- Magento JavaScript Skimmer Targets Tarjetas de Crédito
Research Sucuri, 17 Apr 2020
A website owner recently contacted us regarding a payment problem on their Magento website. A suspicious payment card form was loading for customers who were trying to pay for items in their shopping cart: This payment card form should N...
- Web Skimmer with a Domain Name Generator
Research Sucuri, 17 Apr 2020
Our security analyst Moe Obaid recently found yet another variation of a web skimmer script injected into a Magento database. The malicious script loads the credit card stealing code from qr201346[.]pw and sends the stolen details to hxx...
- OneTone Vulnerability Leads to JavaScript Cookie Hijacking
Research Sucuri, 15 Apr 2020
A vulnerability in the discontinued WordPress theme OneTone has been added to an ongoing campaign that is targeting vulnerable WordPress websites and causes malicious redirects through domains like ischeck [ . ] xyz . This specific wave ...
- Analysis of a WordPress Credit Card Swiper
Research Sucuri, 9 Apr 2020
While working on a recent case, I found something on a WordPress website that is not as common as on Magento environments: A credit card swiper injection. Typically this type of malware targets dedicated ecommerce platforms such as Magen...
- Spl_autoload Backdoor
Research Sucuri, 8 Apr 2020
With backdoors, one of the main challenges for malware authors is to execute code without using obvious functions (such as eval , asset , create_function , etc.) that trigger alerts for security scanners. In the following example found b...
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.