Introduction
A recent security incident has exposed a serious risk within the WordPress ecosystem, involving plugins developed by EssentialPlugin. These plugins were removed from the WordPress.org Plugin Directory after confirmed reports of malicious behaviour — not just vulnerabilities, but intentional backdoor installation.
For both website owners and developers, this is a critical reminder that plugin trust is not guaranteed. In this case, affected websites may have been silently compromised, with attackers able to inject spam content, manipulate core files, and create hidden access points.
This article breaks down what happened, the risks involved, and the exact steps you should take to secure your site.
Table of Contents
- What Happened: The EssentialPlugin Backdoor Explained
- How the Malicious Code Works
- Why This Incident Is More Serious Than a Typical Vulnerability
- Potential Consequences for Your Website
- What WordPress Has Done So Far
- How to Check If Your Site Is Affected
- Step-by-Step Cleanup and Security Actions
- SEO and Reputation Recovery
- Best Practices to Prevent Future Compromises
- Final Thoughts and Key Takeaways
What actually happened?
The affected plugins were found to:
- Download external code from a remote server (
analytics.essentialplugin.com) - Install that code silently on the website
- Create a backdoor file named:
wp-comments-posts.php(designed to mimic the legitimatewp-comments-post.php)
This backdoor allowed unauthorized access to the site and was actively used to:
- Inject spam links into your site (often hidden)
- Modify
wp-config.php - Create redirects to malicious or SEO spam pages
- Inject entirely new pages without admin visibility
In short: full site compromise was possible without your knowledge.
Why this is serious
Unlike a typical vulnerability (which can be exploited), this case involved:
- Deliberate malicious code
- Remote execution
- Persistence mechanisms (files added outside normal plugin structure)
That means even if you deactivate or delete the plugin, the infection may remain.
Potential consequences
If your site was using one of these plugins, you could be dealing with:
1. SEO damage
- Hidden spam links pointing to low-quality or malicious sites
- Google penalties or de-indexing
- Loss of rankings and traffic
2. Security compromise
- Unauthorized admin access
- New hidden users created
- Ongoing reinfection via backdoors
3. Reputation damage
- Visitors being redirected to scam or malicious websites
- Loss of trust from users and clients
4. Data integrity issues
- Modified core files
- Tampered configuration (
wp-config.php) - Unknown code execution
What WordPress has done
The WordPress Plugin Review Team has:
- Removed the plugins from the repository
- Pushed an update attempting to remove the malicious code
However, they’ve explicitly stated:
They cannot guarantee full cleanup.
What you should do (critical steps)
1. Check if you were affected
Look for any plugins by “EssentialPlugin” in your install history.
2. Scan for the known backdoor file
Specifically check for:
/wp-comments-posts.php
If it exists — your site is compromised.
3. Inspect wp-config.php
Look for:
- Strange code blocks
- Encoded strings (e.g.
base64) - Unknown includes or requires
4. Run a full malware scan
Use a reputable tool like:
- Wordfence
- Sucuri
Focus on:
- Modified core files
- Unknown PHP files
- Suspicious admin users
5. Reinstall core WordPress files
Manually replace:
/wp-admin//wp-includes/
This ensures no infected core files remain.
6. Rotate all credentials
Immediately change:
- WordPress admin passwords
- Hosting account passwords
- FTP/SFTP credentials
- Database password
7. Check for SEO spam
Search Google:
site:yourdomain.com
Look for:
- Strange pages
- Spam keywords
- Indexed content you didn’t create
8. Restore from a clean backup (if available)
If you have a verified clean backup before infection, this is often the fastest fix.
SEO and Reputation Recovery
Once the site is clean, monitor indexing, remove spam URLs via Google Search Console, and request reindexing where necessary.
Best Practices to Prevent Future Compromises
- Vet plugin authors carefully
- Keep regular backups
- Run ongoing security monitoring
- Avoid abandoned or low-trust plugins
Final word
If your site used one of these plugins, don’t assume the automatic cleanup worked.
Treat it as a potential full compromise, and act accordingly.



















