Closed breed-redlocks closed 8 years ago
At first guess, there is a plugin on your site adding this code which doesn't check if the document type is HTML so it always gets appended to the output. Disabling that plugin would be a temporary solution, long term the developer should add some checks to their code to ensure that snippet isn't being rendered for non-HTML outputs.
I disabled all plugins and the code is still in the RSS that's generated. What else can we try ?
Check your template to see if it's appending it perhaps? Or are you using any third party services that might be injecting script into your site's pages?
Turns out this was an issue with an old version of Joomla. I upgraded to 3.4.6 and all is well. Thanks for your time.
Just for reference, searching around on parts of that scripts contents (expanded out at https://gist.github.com/mbabker/75aefb465d6212774ab5), I might suggest doing a quick security audit on your site. Part of it seems to trace back to CloudFlare and another part of it brought me to some sites talking about a potential hack (http://tweetypage.com/wordpress-hacked/ is one article where part of that script's contents are very close to what's described on the blog). It may turn out to be nothing, but given how close the script seems to resemble these documented hacks and recent Joomla security issues, checking over your site to ensure it isn't compromised wouldn't be a bad idea.
Hi, I'm now seeing some random broswer-checking code at the bottom of my RSS feed. See here: http://badfeelingpodcast.com/rss
https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fbadfeelingpodcast.com%2Frss
-code below-