Optimizely Supply-Chain Attack Turned 178 Major Websites Into Malware Traps
A flaw in Optimizely's website-testing platform let attackers inject malicious JavaScript into the pages of 178 major organisations, including Zoom, the BBC, CNN and HSBC. The code swapped cryptocurrency wallet addresses, skimmed payment cards and pushed exploit kits to iPhones before Optimizely cleaned it up on November 16.
Optimizely Supply-Chain Attack Turned 178 Major Websites Into Malware Traps
Some of the most visited websites on the internet spent much of Monday, November 16, quietly serving malware to their visitors. None of those sites had been hacked directly. Instead, attackers slipped malicious code into a trusted piece of software they all share — Optimizely's Web Experimentation platform, used to test website layouts and personalise pages.
Security researcher Scott Helme, who runs the monitoring service Report URI, found the attacker's code in 188 of the 1,611 Optimizely snippets his team checked. Those snippets belonged to 178 organisations, including the BBC, CNN, Zoom, HSBC, Salesforce, GitLab, IKEA, Equifax, Air France-KLM, Ledger and Peacock. The campaign has been dubbed OPTIMJACK by independent researchers.
How the attack worked
Websites that use Optimizely load a small JavaScript snippet from the company's servers on every page. That snippet can also carry extra code written by the customer — the feature businesses use to run A/B tests without touching their own site code. Attackers managed to insert their own instructions into that extra code across hundreds of unrelated customer projects.
Because the poisoned code arrived from Optimizely's own domain, cdn.optimizely.com, under a valid security certificate, it looked entirely legitimate to browsers and to the websites themselves. The sites' own servers were never breached, and Optimizely's content delivery network was not poisoned — the malicious code had already been written into the customer projects the platform was serving. Even Optimizely's own website and login portal carried the injected code.
Report URI first spotted the injection at 04:21 UTC on November 16, in a snippet belonging to the BBC. Optimizely later confirmed that attackers had exploited a vulnerability in the account sign-up flow for its Experimentation software. How a sign-up flaw gave the attackers write access to so many unrelated customer accounts has still not been explained, and Optimizely has not said which projects were altered.
What the malware stole
The payload, a file called track.js that researchers saw rebuilt 26 times during the day, was a multi-purpose stealer. It replaced cryptocurrency wallet addresses shown on infected pages with addresses controlled by the attackers, covering eight blockchains: Bitcoin, Ethereum, Tron, Solana, Litecoin, Toncoin, Bitcoin Cash and Dogecoin.
At 13:43 UTC on November 16, the attackers added payment-card skimming. The code watched website forms and outgoing requests for card numbers, expiry dates and security codes. It also collected browser cookies that were not protected against JavaScript access — the kind that keep people logged in — and in some cases captured screenshots of the pages victims were viewing.
Report URI estimated that about $7,040 in cryptocurrency had reached wallets linked to the attackers within roughly nine hours. StepSecurity, which published its own forensic analysis of the payload, put the figure at about $6,600 at the time of its review. The true total from stolen card details may be higher, and will take longer to surface.
iPhone users were pushed toward exploit kits
Visitors on iPhones and iPads faced an extra threat. The malicious script checked the device and its iOS version, then tried to load one of two exploit kits: Coruna, aimed at devices running iOS 13 through 17, and DarkSword, aimed at iOS 18. A separate chain for iOS 26 only identified the device rather than carrying out the full attack.
Report URI noted that the exploit kits themselves treated newer, patched versions of iOS as protected. Devices running iOS 18.6 or earlier were seen repeatedly reloading affected pages every 60 seconds as the exploit kept retrying.
Who was hit, and how companies responded
The 178 affected organisations span almost every sector. Banking and finance accounted for 32 of them, technology and software for 23, retail for 20, streaming and entertainment for 12, and news and media for 10, alongside airlines, healthcare, telecoms, crypto firms, insurers and nonprofits. HSBC alone was affected through eleven country or regional sites.
Salesforce said it was investigating unauthorised changes to its Optimizely scripts and had disabled them as a precaution. Equifax stopped using Optimizely and said it found no evidence that its own systems were compromised. Zoom told Cybernews it had disabled Optimizely across its production environments and had not identified any impact on customer data. Optimizely, Apple, HSBC, CNN and IKEA did not immediately respond to Reuters' requests for comment.
Cleanup took most of the day
By 21:52 UTC on November 16, all but one of the 188 infected snippets had been cleaned — TalkTalk was the last remaining. Report URI's November 17 update said every infected file it monitored was clean by 23:11 UTC. StepSecurity estimated most sites were exposed for about 16 hours.
Optimizely said in a status notice posted at 01:02 UTC on November 17 that an unauthorised party had exploited a vulnerability in Experimentation, that it had fixed the flaw, removed the injected code, secured affected accounts and added protections against unauthorised code delivery. The company has not disclosed how the flaw worked or when exactly the fix was applied.
No group has claimed responsibility for the attack. Researchers have stressed that the 178 figure is a floor, not a ceiling — it counts only the infected snippets Report URI was able to check. The incident is a reminder that a single trusted third-party script can turn hundreds of otherwise secure websites into a delivery channel, and it follows a similar pattern to the recent Fireworks AI breach, in which a shared AI service exposed data from other companies' products, including Notion and Uber.
What visitors should do
Anyone who visited one of the affected sites on November 16 and entered payment card details, or sent cryptocurrency from a wallet address shown on a page, should check their statements and wallet transactions, and consider replacing any card used. iPhone and iPad users should make sure their devices are running the latest iOS version, since the exploit kits targeted older releases.
Sources
- Cybernews — Optimizely script attack hit 178 major websites
- The Register — Optimizely hack turns world's biggest websites into malware dispensers
- Reversing Labs — OPTIMJACK: When Trusted JavaScript Becomes a Supply Chain Attack
Related reading: Notion AI chat transcripts exposed in Fireworks AI breach
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0