Optimizely flaw let hackers inject malware into major websites
Hackers used an Optimizely Web Experimentation flaw to inject JavaScript into customer projects, exposing websites including the BBC, CNN and Zoom to malware.
Hackers exploited a vulnerability in Optimizely’s Web Experimentation platform to add malicious JavaScript to customer projects. The company confirmed the incident in a status-page update and a post on X on November 17. Optimizely fixed the flaw and removed the injected code from affected projects.
The company wrote that an unauthorized party had exploited its Experimentation service and added code to some customer projects. Optimizely secured affected accounts and added further protections, but did not disclose how many customers were affected.
Security firm Report URI examined 1,611 Optimizely scripts and found 188 infected scripts linked to 178 organizations. The organizations included the BBC, CNN, Zoom, GitLab, Salesforce, Equifax, HSBC and IKEA.
The attacker inserted the code into an optional field for customer-provided JavaScript. Code placed in that field runs on every page. The altered files were delivered through Optimizely’s content delivery network, so affected websites treated them as trusted scripts.
Report URI recorded the first injection at 04:21 UTC on November 16. By 21:52 UTC that day, all but one of the identified infected scripts had been cleaned. The malware could replace cryptocurrency wallet addresses with those controlled by the attacker, collect payment card details, steal cookies and capture screenshots of web pages. About $7,000 in cryptocurrency had reached the attacker by the evening of November 16, according to Report URI.
The infected scripts also delivered the Coruna and DarkSword iOS exploit kits to some iPhone and iPad users. Hudson Rock confirmed links between the campaign and infrastructure used to deliver the kits. Its analysis found no evidence proving a successful device compromise, a zero-day exploit or the collection of specific data from affected devices.
Some Optimizely scripts contained the full malicious payload. That meant the code could continue running if a remote file used by the attacker became unavailable. Scripts from Kissmetrics, StorifyMe and Minute-ly were also observed delivering a small loader connected to the same iOS-focused infrastructure. The earliest observation was recorded on November 13, although the method used to insert the code into those providers’ scripts remains unknown.
“A website can be compromised through a third-party dependency without its own code or infrastructure ever being breached,” Report URI researcher Scott Helme wrote. He added that trusted JavaScript can become unsafe when a third-party service is compromised.
Optimizely disclosed a separate security incident in February. In that case, a threat actor accessed the company’s systems through a voice-phishing attack.







