The risks of malware infection from a website include having your sensitive data stolen and used for financial gain. You also run the risk of malware getting stored on your device and harmful software spying on your online searches and activities.