Osegi
Security·2 min read

Optimizely hack: malicious code ran on 178 sites, incl. BBC, IKEA

Visitors to Zoom, the BBC, IKEA and HSBC sites could have loaded crypto-swapping, card-skimming code without clicking anything, after attackers hit Optimizely.

A laptop browser showing a website with a red warning overlay and lines of malicious JavaScript code in the background.
Image: Inc42 Media

You didn't have to click anything. If you opened a page on one of 178 affected organisations' websites, including Zoom, the BBC, CNN, IKEA and HSBC, your browser could have loaded malicious code on its own. The route in was the Optimizely hack, an attack on a platform those sites trust.

Security firm Report URI spotted the problem on November 16. It found 188 tampered JavaScript snippets tied to 178 organisations in 20 sectors, out of 1,611 Optimizely snippets it analysed. Other names on the list include Salesforce, GitLab, Equifax and Ledger.

What is Optimizely Web, and how did the attack work?

Optimizely Web lets companies test versions of their sites, personalise pages and see how people use them. Customers add a JavaScript snippet hosted on Optimizely's content delivery network (CDN). The snippet has an optional Project JavaScript field for custom code.

According to Report URI, attackers got into customer projects and put their code in that field. Because the snippet loads automatically, visitors never needed to visit anything unfamiliar.

What could the malware do?

The script, called track.js, could swap cryptocurrency wallet addresses on a page for the attackers' own. It covered Bitcoin, Ethereum, Solana, Tron, Toncoin, Litecoin, Bitcoin Cash and Dogecoin. It could also skim card numbers, expiry dates and CVVs typed into a site's own payment fields. Card details entered in hosted payment frames from providers such as Stripe and Adyen were out of its reach.

It could also send out page URLs, certain cookies and screenshots. On iPhones and iPads it checked the iOS version and could try two exploit kits, Coruna and DarkSword. Comments in the kit suggest iOS 18.7.3 and later, and iOS 26.3 and later, are patched.

The attackers had received about $7,151 in crypto by Report URI's November 17 update.

Optimizely says an unauthorised party exploited a vulnerability in Optimizely Experimentation. It says it blocked the vulnerable path, deployed a fix, removed the injected code, ended sessions, revoked tokens and reset access, and has notified affected customers. A third-party investigation is under way. How the attackers reached so many projects is still unclear: stolen credentials or a compromise of Optimizely's own systems are both possible.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:optimizelysupply chain attackjavascript skimmercrypto theftreport uriios exploits

More from this day

See all →

More in: Security

See all →