Plugin Support
vipul78
(@vipulelementor)
Hi @djepayne
This is an expected file of Elementor plugin. Was there some suspicious code added to this file by any chance?
Could you please show a screenshot of this file’s code?
Did you see any suspicious activity on your site with regards to this?
The legitimate Elementor file is slightly different syntax: frontend-handlers-asset.php
Notice how the malicious file replaces the “-” with the “.” character: frontend.handlers.asset.php
@djepayne Can you please check and confirm the correct filename? Because in the original files downloaded from wordpress.org the file is called frontend-handlers.asset.php (so with a hyphen and period combined).
Plugin Support
Milos
(@miloss84)
Hi there,
Thanks for contacting us and hope you are doing well and having a great day.
Thanks for reporting this in detail. The legitimate Elementor file name is:
wp-content/plugins/elementor/assets/js/packages/frontend-handlers/frontend-handlers.asset.php
Notice the correct syntax uses hyphens (-) and a period (.) before asset.php.
The malicious file you found was named:
frontend.handlers.asset.php
This version replaces a hyphen with a dot, which does not exist in the official Elementor plugin files. That means it was injected by the attacker.
If you’ve already deleted the malicious file and cleaned the modified WordFence file, that was the right action. I also recommend:
- Making sure your WordPress core, Elementor, and all plugins/themes are updated to their latest versions.
- Running a full WordFence scan and checking your server logs for other suspicious activity.
- Replacing Elementor with a fresh copy from wordpress.org to ensure all files are original and untouched.
Hope this helps.
Kind regards,