Recently i have observed that one of my old website got bad links/pages without my interference. That is due to hackers inserted spam contained code into our WordPress header file. That is creating multiple number of other pages and getting appear in search results. I have observed that fault in our Google webmaster tools. Then immediately i have changed the free theme to paid, because of that free theme only it happened. And we should not encourage weak/spam plugins which may causes to website hack.