On Monday, people reading the news on CNN, Fox News or the BBC had no reason to suspect anything. Behind the pages, a script those sites loaded from a trusted marketing vendor had been quietly rewritten to pull in malware that could swap cryptocurrency addresses, skim payment cards and, on iPhones, deliver exploit kits.
Read next on Morning Overview: Cadillac cut the price of its cheapest EV, which goes up to 317 miles on a charge
The vendor was Optimizely, a platform companies use to test and personalize their websites. Security researchers found the malicious code in scripts belonging to 178 organizations, including Zoom, Salesforce and GitLab, before most of it was removed late the same day.
One signup flaw, 188 infected scripts
Optimizely confirmed to BleepingComputer’s Lawrence Abrams that attackers exploited a vulnerability in its Experimentation account signup flow to inject JavaScript into customer projects. “[Optimizely has] blocked access to the vulnerable path and deployed a fix,” the company said. “[It has] removed the injected code from affected projects. [It has] also ended active sessions, revoked tokens, and reset access for affected user accounts.” Its public status page lists a “Web Experimentation Security Incident” and says the company has fixed the vulnerability and added protections against unauthorized code delivery.
The attack was first documented by security researcher Scott Helme, whose team analyzed 1,611 scripts served by the platform and found 188 infected files belonging to 178 organizations. In his write-up for Report URI, Helme listed some of the most visited sites in the world among those affected: Zoom, the BBC, CNN, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger and Peacock. BleepingComputer confirmed the injected code in a script loaded by Fox News.
The mechanism explains why so many unrelated brands were hit at once. Each Optimizely customer loads a JavaScript snippet from the company’s content delivery network, and that snippet can carry custom “Project JavaScript” that runs on every page. The attacker wrote code into that field. The file was still served from Optimizely’s own domain with Optimizely’s certificate, from a host every affected site already trusted. “A website can be compromised through a third-party dependency without its own code or infrastructure ever being breached,” Helme wrote.
A crypto clipper, a card skimmer and iPhone exploit kits
The injected loaders pulled an additional script, track.js, from a domain registered only hours before. Some copies referenced the domain directly, others hid it in Base64 so a simple text search would miss it, and one variant carried a full inline copy of the payload that would run if the remote address was blocked.
The payload did several things. It watched pages for cryptocurrency wallet addresses and replaced them with the attacker’s, so a transfer would go to the wrong place. It searched for card numbers, expiration dates and security codes typed into pages and tried to send them out. It also collected cookies, page addresses and screenshots. On iPhones and iPads it loaded further code that Helme identified as the Coruna and DarkSword exploit kits.
Both kits have a track record. Kaspersky researchers have described Coruna as an evolution of the framework behind Operation Triangulation, with five full iOS exploit chains built on 23 vulnerabilities. DarkSword, uncovered by the mobile security company Lookout in March, targets iPhones running iOS 18.4 through 18.7 and has been used to steal personal data, including from cryptocurrency wallet apps.
Hours of exposure and about $7,000 in crypto so far
The attack moved quickly. Helme’s timeline shows the first Optimizely injection appearing on a BBC snippet at 04:21 UTC on November 16 and the track.js script showing up on bbc.com by 08:28. By 20:56 UTC the code sat in 169 of the 188 infected snippets; at 21:52 his team found it in just one. One customer, Smartsheet, was cleaned and then re-infected with the Base64 variant, a sign that whoever wrote the code still had access at that point.
Optimizely may not have been the attacker’s first route. Helme’s timeline records an earlier wave between November 13 and 16 in which an injector from the same actor was planted through other third-party scripts, from Kissmetrics, StorifyMe and Minute Media, on sites including securitybank.com, faz.net, smh.com.au, vidaxl and foxsports.com. The same injector had first appeared in September on Turkish websites through an SEO backlink script. The pattern points to an operator hunting for any widely loaded script it could write to, rather than a one-off break-in at a single vendor.
The money trail is small so far. Helme found that the wallets embedded in track.js had received roughly $7,000 in transactions as of November 16, though some were active before the attack, which makes it hard to say how much came from this campaign. Card data is harder to trace, and no affected company had reported fraud tied to the incident.
Salesforce said it had disabled Optimizely scripts across its preview and production instances as a precaution and would notify customers “without undue delay” if it found unauthorized access to their data. The larger question is the one Helme raised directly: how the attacker gained write access to so many unrelated customer projects. “That’s for Optimizely to explain,” he wrote.
This article was produced with the assistance of AI and reviewed by Morning Overview editors prior to publication.
More from Morning Overview
- 11 engines built to run well past 200,000 miles
- Two Kentucky residents died when a small plane crashed at Missouri’s Lake of the Ozarks, and the NTSB is investigating
- A handful of car transmissions are so tough that mechanics say they almost never die
- Melting permafrost is setting off a newly identified kind of catastrophic landslide, scientists say