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.
- Unwanted Pop-ups Caused by Injectbody/Injectscr Plugins
Research Sucuri, 12 Feb 2018
On February 8th, 2018, we noticed a new wave of WordPress infections involving two malicious plugins: injectbody and injectscr . These plugins inject obfuscated scripts, creating unwanted pop-up/pop-unders. Whenever a visitor clicks anyw...
- How to Add Security to Your Client’s Websites
Research Sucuri, 5 Feb 2018
Website security has crossed the mind of nearly every website owner. However, as a website security company , we know that most webmasters come to us after the fact, when their website has already been compromised. Once hackers have take...
- Cloudflare[.]solutions Keylogger Returns on New Domains
Research Sucuri, 24 Jan 2018
A few months ago, we covered two injections related to the “cloudflare.solutions” malware: a CoinHive cryptominer hidden within fake Google Analytics and jQuery, and the WordPress keylogger from Cloudflare[.]solutions . This malware was ...
- Server-level Cryptominer Injections
Research Sucuri, 22 Jan 2018
During an investigation on a recent case, we came across a malware infection that came directly from the server. Upon further inspection, we found that there were at least two servers showing the same symptom: cryptominers had been autom...
- SQLi Vulnerability in YITH WooCommerce Wishlist
Research Sucuri, 16 Jan 2018
As part of our regular research audits for our Sucuri Firewall, we discovered an SQL Injection vulnerability affecting the YITH WooCommerce Wishlist plugin for WordPress. This plugin allows visitors and potential customers to make wish l...
- Malicious Website Cryptominers from GitHub. Part 2.
Research Sucuri, 3 Jan 2018
Recently we wrote about how GitHub/GitHub.io was used in attacks that injected cryptocurrency miners into compromised websites. Around the same time, we noticed another attack that also used GitHub for serving malicious code. Encrypted C...
- Reverse Javascript Injection Redirects to Support Scam on WordPress
Research Sucuri, 21 Dec 2017
Over the last few weeks, we’ve noticed a JavaScript injection in a number of WordPress databases, and we recently wrote about them in a Sucuri Labs Note. The campaign attempts to redirect visitors to a bogus Windows support page claiming...
- Javascript Injection Creates Rogue WordPress Admin User
Research Sucuri, 14 Dec 2017
Earlier this year, we faced a growing volume of infections related to a vulnerability in outdated versions of the Newspaper and Newsmag themes. The infection type was always the same: malicious JavaScript designed to display unauthorized...
- Reversed URLs Randomly Redirect to Scams
Research Sucuri, 14 Dec 2017
We are seeing hundreds of infected WordPress sites with the following scripts (in one line) injected in random places in wp_posts table. $vTB$I_919AeEAw2z$KX=function(n){if (typeof ($vTB$I_919AeEAw2z$KX.list[n]) == "string") return $vTB$...
- Using Google and Facebook to aid on distribution
Research Sucuri, 11 Dec 2017
Every now and then I check my spam mail box for interesting malware (yes, I receive a lot of phishing messages and alerts that my payments are overdue), but most of the time is more of the same, effortless malware, lousy written messages...
- Malicious Cryptominers from GitHub
Research Sucuri, 8 Dec 2017
Recently, a webmaster contacted us when his AVG antivirus reported that the JS:Miner-C [Trj] infection was found on their site. Our investigation revealed a hidden iframe had been injected into the theme’s footer.php file: wpupdates .git...
- Cloudflare[.]Solutions Keylogger on Thousands of Infected WordPress Sites
Research Sucuri, 6 Dec 2017
Update Dec. 8 2017: The cloudflare[.]solutions domain has now been taken down. A few weeks ago, we wrote about a massive WordPress infection that injected an obfuscated script pretending to be jQuery and Google Analytics. In reality, thi...
- WP-VCD Malware Comes with Nulled Themes
Research Sucuri, 6 Dec 2017
Recently we wrote about wp-vcd malware that created rogue WordPress admin users ( 100010010 ) and injected spam links. Our readers noticed that the “nulled” premium theme sites promoted by the injected links (and some other similar sites...
- Backdoor using paste site to host payload
Research Sucuri, 30 Nov 2017
Over the last months, we’ve been talking a lot about new ways to decode complex malwares that involve the usual PHP functions like eval, create_function, preg_replace, assert, base64_decode, etc. According to our latest reports “Backdoor...
- IPv6 address in malicious Javascript redirect
Research Sucuri, 29 Nov 2017
We recently came across a file that shows an interesting case with a Javascript malicious code injection in a website’s custom script file, though it’s not specific to any particular website software: Infected filename: ./paginas/rodape....
- Formidable Forms / Shortcodes Ultimate Exploits In The Wild
Research Sucuri, 24 Nov 2017
On Monday, November 20th, we were notified about a vulnerability that poses a serious security risk when the Shortcodes Ultimate and Formidable Forms plugins are used together on a single WordPress installation. Over the past couple of w...
- Fake jQuery and Google Analytics Hide Yet Another Cryptominer
Research Sucuri, 24 Nov 2017
This is a quick posts about yet another quite massive attack that installs CoinHive JavaScript Monero miners on compromised websites. You might have already read our blog posts on how such attacks were first detected and how they escalat...
- Risks For E-commerce Site Owners Through the Holidays
Research Sucuri, 22 Nov 2017
Shopping season is here, and with that, so is the opportunity for ecommerce site owners to grow their revenue and reputation. However, hackers are also busy infecting ecommerce websites with malware, such as: Credit Card Swipers Maliciou...
- How to Avoid Malicious Cyber Monday Campaigns
Research Sucuri, 15 Nov 2017
As consumers prepare to take advantage of the discounts and promotions for the Black Friday and Cyber Monday ecommerce holidays, bad actors are crafting fraudulent websites, phishing, and malware campaigns to capitalize on the profits. I...
- SQL Injection in bbPress
Research Sucuri, 13 Nov 2017
During regular audits of our Sucuri Firewall (WAF), one of our researchers at the time, Slavco Mihajloski, discovered an SQL Injection vulnerability affecting bbPress. If the proper conditions are met, this vulnerability is very easy to ...
- New wave of wp-vcd Malware
Research Sucuri, 13 Nov 2017
Recently we saw a new wave of a known malware that injects malicious WordPress admin users to vulnerable or compromised sites.The malware, well analysed by Manuel D’Orso (here), was being injected on default WordPress themes that are not...
- Why Attackers Hack Small Sites
Research Sucuri, 8 Nov 2017
You would never leave the front door to your house wide open when you’re not home would you? Doing so would allow criminals to seize the opportunity of stealing your valuables. That’s the same way you can look at website hacking. Leaving...
- New WordPress Security Guide
Research Sucuri, 3 Nov 2017
WordPress has become the most popular CMS and now powers over 28% of the web. With over 60 million downloads, its popularity makes it a prime target for malicious hackers that are looking for vulnerabilities to exploit. If an attacker is...
- Cryptominers on Hacked Sites - Part 2
Research Sucuri, 25 Oct 2017
Last month we wrote about how the emergence of website cryptocurrency miners resulted in hackers abusing the technology by injecting the CoinHive miners into compromised sites without the consent of the website owners. We reviewed two ty...
- Attackers leveraging WP Maintenance plugin to deface websites
Research Sucuri, 25 Oct 2017
Recently, during a website investigation, we detected that attackers have been modifying the database structure of WP Maintenance plugin (which is a very popular wordpress plugin which adds a “down for maintenance” or coming soon page fo...
- Malware Serving SEO Spam from External Sites
Research Sucuri, 18 Oct 2017
We handle an enormous number of SEO spam infections here at Sucuri. In Q3 of 2016, approximately 37% of all website infection cases were related to SEO spam campaigns through PHP, database injections or .htaccess redirects. An SEO spam i...
- Mayhem Malware Server Botnet Continues to Evolve
Research Sucuri, 12 Oct 2017
Three years ago, researchers at Yandex discovered a complex server infection, dubbed Mayhem, that embeds itself deep within a system by compiling a shared object and running as a service. This also allows the malware to operate under res...
- Credit Card Stealer Investigation Uncovers Malware Ring
Research Sucuri, 10 Oct 2017
During a recent investigation, I found a new piece of malicious code being used to steal credit card information from compromised Magento sites. What I didn’t know was how many domains would be uncovered as part of the malware campaign. ...
- Website Hosting: Security Awareness Can Reduce Costs
Research Sucuri, 3 Oct 2017
Website hosting security has matured in recent years. Naturally, the types of security issues have changed because of it. For example, cross-contamination over multiple shared hosting accounts used to be a major problem for large website...
- Fake Plugins, Fake Security
Research Sucuri, 28 Sep 2017
Update : The plugin name is fake and has nothing to do with the well-known WP-SpamShield plugin in the official WordPress plugin repository. WordPress users are becoming increasingly more aware of security threats and as a result, they a...
- Stored Cross-Site Scripting Vulnerability in WordPress 4.8.1
Research Sucuri, 26 Sep 2017
Update 11/03/2017: Read all about vulnerabilities and best practices to secure your website in our newly WordPress Security Guide today! During regular research audits for our Sucuri Firewall (WAF), we discovered a stored source-based Cr...
- Simple self updating hacktool
Research Sucuri, 26 Sep 2017
While working on a compromised website, it’s very common to encounter hacktools. Those are like the attackers’ swiss knife, allowing them to perform several tasks such as: DoS attacks, execute server level exploits and even simple filema...
- Hacked Websites Mine Cryptocurrencies
Research Sucuri, 22 Sep 2017
Cryptocurrencies are all the rage now. Bitcoin, altcoins, blockchain, ICO, mining farms, skyrocketing exchange rates - you see or hear this every day in the news now. Everyone seems to be trying to jump on this bandwagon. This trend resu...
- Mayhem malware still on the wild
Research Sucuri, 19 Sep 2017
Years ago, colleagues from Yandex introduced the concept of Mayhem infections. In that post, they provided very detailed information about the malware, its functionalities and capabilities. The interesting point of the malicious code, is...
- Malicious Backdoors: Fake Images and Strrev Functions
Research Sucuri, 15 Sep 2017
When a website is compromised, attackers frequently leave behind a backdoor - according to our research around 70% of all website hacks include a backdoor. These backdoors are not designed to attack a website or destroy data, instead, th...
- Old Themes, Abandoned Scripts and Pitfalls of Cleaning Serialized Data
Research Sucuri, 13 Sep 2017
Over the summer, we’ve seen waves of WordPress database infections that use vulnerabilities in tagDiv’s Newspaper/Newsmag themes or InterconnectIT Search and Replace scripts (searchreplacedb2.php). The injections range from ad scripts co...
- SEO spam loading from external site
Research Sucuri, 13 Sep 2017
Many websites get compromised and used for SEO in order to drive traffic to other websites that would usually be ranked very low or completely removed by Google due to their content. Recently I found some malware pulling spam content fro...
- Evil Self-Regenerating WordPress Administrator User
Research Sucuri, 1 Sep 2017
Attackers often aim to conceal their presence using different methods, such as injecting redirect scripts, creating spam pages, or hiding a mailer in checkout pages to steal credit cards; but this is not always the case. We’ve seen some ...
- Mining Adminers - Hackers Scan the Internet For DB Scripts
Research Sucuri, 30 Aug 2017
Hackers are constantly scanning the internet for exploitable sites, which is why even small, new sites should be fully patched and protected. At the same time, it is not feasible to scan the whole internet with 330+ million domains and b...
- When Online Shopping leads to Malware download
Research Sucuri, 28 Aug 2017
Recently, during an incident response process, we worked on an interesting Magento website. This site was reported to having a strange redirection when users visited the site. Without further ado, we started investigating the issue on th...
- Expired Domain Leads to WordPress Plugin Redirects
Research Sucuri, 24 Aug 2017
A malicious redirect is a snippet of code used by attackers with the intention of redirecting visitors to another site; a very common tactic seen in compromised websites. These redirects often take visitors to phishing, malware, or adver...
- Evasion Techniques in Phishing Attacks
Research Sucuri, 22 Aug 2017
We all know that we shouldn’t click on links from sketchy looking emails. But what if the website you’re viewing takes you to a spoofed page at the Apple ID store and asks for your login information to proceed? This tactic is called phis...
- Small One-liner Backdoor
Research Sucuri, 21 Aug 2017
During an incident response investigation, we detected an interesting backdoor that was small but had the potential to give the attacker full access to your website and all its content. Let’s review the backdoor content which was placed ...
- JavaScript Used to Generate Malicious Documents
Research Sucuri, 17 Aug 2017
When talking about compromised environments, we often think that the website itself is the end goal but that’s not always true. In some cases, attackers shift their focus to the user instead, especially when the website has lots of traff...
- Decoding Complex Malware - Step-by-Step
Research Sucuri, 15 Aug 2017
When cleaning websites, one of the most complicated parts of our job is ensuring we find all backdoors. Most of the time, attackers inject code into different locations to increase the chances of reinfecting the site and maintaining acce...
- Mobile Malware Targets eCommerce Websites & Users
Research Sucuri, 11 Aug 2017
A mobile malware is a malicious software that targets mobile/smartphones, tablets and similar devices. The attacks may vary from fatal damage to the OS (bricking) to leakage of sensitive and personal information, such as credit card, sav...
- PHP Script Nukes All Website Files
Research Sucuri, 8 Aug 2017
Most malware and spam that we come across has some sort of discernable purpose to it, usually something which benefits the attackers financially. This is often related to spam campaigns, credit card theft, spreading trojans/spyware or ph...
- Register My Backdoor - Unorthodox Invocation Mechanisms
Research Sucuri, 26 Jul 2017
Backdoors are found in 72% of infected websites, according to our latest reports. Backdoors are files left on the server by attackers in order to retain access to your site and reinfect it later, whenever they see fit. From time to time ...
- Labs Notes Monthly Recap - June/2017
Research Sucuri, 20 Jul 2017
This month, our Malware Research and Incident Response teams wrote about redirects that deliver malware and ads to visitors, as well as a backdoor method that attempts to hide from webmasters by using undefined variables. Sucuri Labs pro...
- Malicious Backdoor Hidden Inside Fake Image
Research Sucuri, 17 Jul 2017
During an incident response investigation, we detected an interesting backdoor that was hidden in a fake image. The attacker was quite creative in creating an attack that would work in two steps. The attacker created two files. The first...
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.