Not sure how this is a problem with Wordpress. I'm sure a critical analysis of, say, the Firefox and Chrome plugins sites would turn up some quantity of malware as well.
The trick is to not download random plugins; stick to things with lots of reviews and lots of downloads. Installing some security plugins will help (WebsiteDefender, both the plugin and the service, is a good example), as will putting your site behind a protective CDN like CloudFlare (and since they're free, there's really no good reason not to do this..)
The trick is to not download random plugins; stick to things with lots of reviews and lots of downloads. Installing some security plugins will help (WebsiteDefender, both the plugin and the service, is a good example), as will putting your site behind a protective CDN like CloudFlare (and since they're free, there's really no good reason not to do this..)