there is increasing number of attacks on web hosting sites (usually free/cheap hosts) to inject ‘malicious’ scripts into pages hosted there …
so if You got redirected or infected on till now safe site it this may be why