Identity theft is one of the main risks when shopping online. Cybercriminals can attack websites to obtain login credentials or credit card information, allowing them to make fraudulent purchases.