WordPress is a popular blog hosting platform so it is not a surprise that it is also targeted by website malwares. Although WordPress is an open source blogging platform, security holes can appear over once in a while and these are what malicious software are targeting. Preventing a malware from entering your blog is as simple as keeping everything (themes, plugins,etc) and preventive maintenance. However, if you don’t know what you are dealing with, you don’t know how malware infects, and how to properly protect your WordPress blog, you will get infected.
In this article by WPHacks.com, everything is explained starting from what a website malware is, how it occurs, and how to protect your blog from it.
Full article here: http://wphacks.com/how-to-protect-wordpress-from-malware-infections/