
In one of the most significant security incidents on the WordPress platform this year, over 400,000 websites have been compromised due to a critical vulnerability in the Happy Addons for Elementor plugin. This popular addon, designed to enhance the Elementor page builder, was exploited by attackers, causing widespread damage to numerous sites.
Details of the Attack
The vulnerability, identified as CVE-2024-10538, affected all versions of the plugin up to and including version 3.12.5. The attackers exploited a Stored Cross-Site Scripting (Stored XSS) flaw in the before_label parameter of the Image Comparison widget.

How the Attack Worked
Due to insufficient input sanitization and output escaping, attackers with “Contributor” user-level access or higher were able to inject malicious scripts into targeted website pages. Once visitors accessed these compromised pages, the malicious scripts executed actions such as:
- Stealing sensitive user data, including browser cookies.
- Hijacking user sessions.
- Redirecting users to malicious websites.
The Widespread Impact on Websites
With more than 400,000 active installations, the impact of this vulnerability was massive. Many sites faced severe consequences, including:
- Loss of sensitive user data.
- Being flagged as unsafe by search engines, leading to a drop in search rankings.
- Reputational damage for brands associated with affected websites.
Fixing the Vulnerability After the Attack
After reports of widespread exploitation, the developers of Happy Addons released a patch in version 3.12.6 on November 5, 2024. This update addressed the vulnerability by improving input sanitization and output escaping mechanisms, ensuring future protection against similar attacks.

How to Protect Your Site Post-Attack
If you use the Happy Addons for Elementor plugin and have not yet updated, your site may already be compromised. Take the following steps immediately:
Update the Plugin to the Latest Version (3.12.6)
Log in to your WordPress dashboard and update the plugin to the latest release.
Conduct a Full Security Scan
Use security tools like Wordfence or iThemes Security to scan your website for malicious scripts or suspicious changes.
Reset Passwords
Change all passwords for users on your site, particularly those with elevated privileges.
Review User Permissions
Audit the roles and permissions of users on your site. Remove any unnecessary or suspicious accounts.
Implement Regular Backups
Set up a regular backup schedule to protect your website data and enable quick recovery in case of future breaches.
Your Role as a WordPress User
This attack underscores the importance of keeping plugins and themes updated. Neglecting updates can leave your site vulnerable, especially when using popular plugins that are common targets for hackers.
Always remember: Prevention is better than cure. Securing your website is not optional—it’s essential for protecting your data and your visitors.
Conclusion
The Happy Addons for Elementor hacking incident serves as a crucial lesson for all website owners. While technology provides incredible tools, it requires vigilance and proactive measures to ensure safety. If you need assistance securing your site, consider working with experts to prevent future risks.
By staying updated and prioritizing security, you can protect your website and maintain the trust of your visitors.
Source: Search Engine Journal