CNN, Zoom, IKEA and 175 other websites got targeted by malicious code aimed at stealing cryptocurrency and infecting iPhones. Researcher Scott Helme said the attack happened through Optimizely on Monday. Salesforce disabled the scripts while investigating the issue. Many other companies did not respond to requests for comment on this.

Malicious JavaScript targeted visitors of widely-used websites belonging to various organizations and attempted to steal cryptocurrency. The compromised sites included those of Zoom, HSBC, Equifax, CNN, Salesforce and IKEA, which were affected through Optimizely. Cybersecurity firm HudsonRock confirmed that these sites had unknowingly served malicious code to visitors. Salesforce has since disabled the unauthorized scripts while conducting an investigation into the issue.

Some of the world's most visited websites, including those belonging to Zoom, HSBC , Equifax, CNN, Salesforce and IKEA, were subverted in an effort to steal cryptocurrency and infect iPhones, a security researcher said on Monday.

Malicious JavaScript was aimed at visitors to the websites of 178 organizations across various sectors through Optimizely, a website optimization platform, according to researcher Scott Helme.

The scripts attempted to replace cryptocurrency payment addresses with the attacker's wallet, skim card numbers as users entered credit card details, steal cookies and screenshots, and plant exploit code on iOS devices.

Cybersecurity firm HudsonRock also said it had found evidence that the sites had served malicious code to their visitors.

Reuters could not immediately ascertain whether the code was successfully used in each case, or the extent of any resulting hacks.

Salesforce said it was investigating unauthorized Optimizely script changes, and had disabled them as a precaution.

Optimizely, Apple, Zoom, HSBC, Equifax, CNN and IKEA did not immediately respond to Reuters' requests for comment.