Today i was doing a manual search for my website in google and received an error on the listing page (the site may have been compromised), so i did a manual check for my wordpress website pages and found link back to third party sites which were not visible on the front end but was visible when i viewed the source code. I have already deleted it from the header.php file in WordPress, but i just wanted to know how can i prevent this from happening in the future, does WordPress provides any security measures to avoid such attacks like XFF, code injectin and sql injection. The code inserted was seen between the <body> tag and <div id="header">. I searched for plugins in WordPress, does those plugin help in avoiding such cases, there are hundreds of plugin's available, and it is very hard to choose one, can any one recommend a good plugin.