I am having a problem with my Magento store. Every morning I have to delete an ad script from my config > design > footer scripts

I'm not placing this script there and somehow it comes back every morning.

Any Ideas how I can stop them? The google ad info on the script isn't even mine.

  • Please add (one) version tag and maybe the script code. – sv3n May 16 '18 at 13:42

You should probably check your shop for updates/vulnerabilities, this is possible at:


You could also try removing suspicious 3rd party modules.


If this is magento enterprise check the admin actions log to see if a specific user is adding it in.

Consider changing all passwords for admin user accounts, server access accounts, check the server out for any backdoors/malware. See if any users are logging onto the server via ssh at times when you don't expect someone to be connecting.

I'd advise to protect your users/customers you put your site in maintenance mode until you have resolved this.

Check you have all security patches applied, as Maikel has said use magereport to get an idea of what is missing (if any)

You really need to audit your server

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.