Visitors to websites including Zoom, IKEA, HSBC, and CNN were exposed to harmful code through Optimizely, a service businesses use to test and change their websites, according to a blog post by cybersecurity firm Report URI published Nov. 16.

The firm said it found 188 infected pieces of website code linked to 178 organizations. Its report also named the BBC, Salesforce, GitLab, Equifax, Air France-KLM, Ledger, and Peacock. The harmful code was designed to steal information from people visiting these sites.

“We’ve fixed the vulnerability and removed the injected code from affected projects,” Optimizely said in an update on its service status page posted Nov. 17.

According to the update, someone used a security flaw in its Experimentation service to add harmful JavaScript to some customer projects. JavaScript is code that runs in a web browser. Optimizely said it secured affected accounts and added safeguards to stop unauthorized code from reaching visitors. The company was continuing to monitor the incident.

According to Report URI’s blog post, attackers inserted harmful instructions into code delivered to websites through Optimizely. Because those websites already used and trusted the service, the altered code could load when people visited them.

The code could collect payment card details, take screenshots, and steal browser cookies — small pieces of stored information that can include sign-in details. It could also change cryptocurrency payment addresses so money would go to attackers instead of the intended recipient. On iPhones and iPads, it delivered code that could take advantage of security flaws. Report URI said it confirmed cryptocurrency transfers to the attackers.

In a separate advisory, Beazley Security said not every Optimizely customer was affected. It advised website operators to check the code supplied by Optimizely and any extra code added to their projects. It also said code that appeared clean during one check could be changed later.

Report URI advised affected visitors to update their Apple devices, check that cryptocurrency payments went to the correct recipients, and review payment card statements for unfamiliar transactions.

By Marlet Salazar

Marlet Salazar is a technology writer focusing on cybersecurity. In 2018, driven by her passion for the tech industry, she founded Back End News through bootstrapped funding. She honed her writing skills at the Philippine Daily Inquirer, rising from proofreader to desk editor through the years.