The malicious scripts were designed to carry out several activities, including redirecting cryptocurrency payments to attackers' digital wallets.

According to the findings, the code attempted to replace legitimate cryptocurrency payment addresses with wallets controlled by attackers. It also sought to capture credit card numbers as users entered their payment details.

The scripts were further designed to steal browser cookies and screenshots, while also attempting to install exploit code on devices running Apple's iOS operating system.

The campaign raised concerns about the potential exposure of sensitive financial information and personal data belonging to visitors of the affected websites.

However, Reuters said it could not immediately establish whether the malicious code had been successfully used in every case or determine the extent of any resulting security breaches.

Also Read: AI in Cybersecurity: Threat Detection and Incident Response