An attacker broke into Optimizely, a web experimentation tool that lets companies test different versions of their websites on visitors, and used that access to plant malicious code inside scripts running on sites belonging to CNN, the BBC, Zoom and roughly 175 other organizations. The code tried to steal cryptocurrency and credit card numbers from visitors, and on iPhones and iPads it attempted to load exploit kits capable of taking over the device, according to security researchers who tracked the incident on Monday.
What Optimizely does and why it mattered here
Optimizely sells software that businesses use to experiment with their own websites, showing different visitors slightly different versions of a page to see which one performs better. To make this work, a site that uses the service loads a small piece of code, called a snippet, directly from Optimizely’s servers. That snippet can include custom code the business itself writes, known as Project JavaScript, which runs automatically every time the snippet loads on a visitor’s browser.
According to a technical writeup from Report URI, a company that monitors scripts running on websites, the attacker found a way to write directly into that Project JavaScript field across a large number of unrelated customer accounts, without needing to compromise each business individually. Because the snippets were still served from Optimizely’s own domain, cdn.optimizely.com, with the company’s own security certificate, browsers and website owners had little reason to suspect anything was wrong.
How the attack unfolded
Report URI says the first sign of trouble appeared at 04:21 UTC on Monday, when the BBC’s snippet began loading a script from a domain called webshell[.]lol. The same loader had already shown up earlier through scripts belonging to Kissmetrics, StorifyMe and Minute Media, and researchers traced its first appearance to Turkish websites back on September 17. The loader came in three slightly different forms. Most copies pointed directly to the attacker’s payload address, one hid that address using base64 encoding so a simple text search would not catch it, and a third carried a full backup copy of the payload in case the main address got blocked.
At 13:43 UTC, the attacker added a card skimmer to the mix. It watched for card number, expiration date and CVV fields on the sites’ own payment forms and sent whatever a visitor typed into them straight to the attacker’s server. Report URI notes the skimmer could not read card details entered through a separate, secure frame such as the kind Stripe or Adyen provide, since those keep the data isolated from the rest of the page.
Between 17:13 and 17:57 UTC, the attacker also began inserting a hidden frame on every visit from an iPhone or iPad running iOS 18.6 or earlier, reloading the page every 60 seconds to keep trying. Endpoint security firm Cynet identified the code loaded in that frame as two previously documented iOS exploit chains known as Coruna and DarkSword. Coruna targets iOS versions 13.0 through 17.2.1, and DarkSword targets 18.4 through 18.7; both were first detailed by Google researchers earlier this year. Cynet says it retrieved the exploit code using an emulated iPhone browser and found no evidence that any real device was actually taken over, describing what it saw as an attempt at delivery rather than a confirmed compromise.
Separately, a payload analysis from security firm StepSecurity found that the code also hunted for cryptocurrency wallet addresses appearing in page text, forms, links, outgoing network requests and even the clipboard. If an address passed the mathematical check used to validate it for a given blockchain and appeared near a word like wallet, deposit or send, the script would quietly swap in an address controlled by the attacker. That means a visitor who copied what looked like a legitimate address from one of these sites, even one shown correctly on the page, could still end up pasting the attacker’s version into their wallet software.
How many sites were affected
Report URI says it checked 1,611 Optimizely snippets it had identified through its own web crawling and found the malicious code in 188 of them, belonging to 178 separate organizations. The firm believes the real number is higher, since it could only check the snippets it managed to find before cleanup began. Besides CNN, the BBC and Zoom, the affected list included Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger and Peacock, among others. Optimizely’s own website and customer login page also carried the code at one point. Some researchers have taken to calling the campaign OPTIMJACK.
A mass cleanup effort began around 20:40 UTC on Monday, and by 21:52 UTC, Report URI says only the snippet belonging to UK telecom and broadband provider TalkTalk still carried the malicious code. In at least one case, the firm noticed that a cleaned snippet, belonging to Smartsheet, was reinfected shortly afterward with a more hidden version of the same code, which the researchers say suggests the attacker still had some form of access even after the first round of cleanup.
What Optimizely has said so far
Optimizely posted an incident notice at 01:02 UTC on Tuesday stating that an unauthorized party had exploited a vulnerability in its Experimentation product and used it to add malicious JavaScript to some customer projects. The company said it has since fixed the vulnerability, removed the injected code, secured affected user accounts and added protections meant to stop unauthorized code from being delivered through the service again. The notice does not explain how the underlying flaw worked, how many customer projects were altered in total, when exactly the fix was put in place, or whether the attacker retained any access afterward. It also offers no specific guidance for affected customers or their visitors. Report URI, writing before Optimizely’s notice went up, said it did not know how the attacker gained write access to so many unrelated customer accounts and that this was a question only the company itself could answer.
As of 19:25 UTC on Monday, StepSecurity and Report URI had traced roughly $6,600 to $7,040 worth of cryptocurrency into wallets tied to the attacker, collected over about nine hours. StepSecurity noted that two of the addresses involved had already seen activity before the injections began, meaning that not every dollar that passed through them necessarily came from a victim of this specific campaign.
What site owners and visitors should do
Report URI recommends that any business using Optimizely Web Experimentation check its Project JavaScript and custom experiment code for anything it did not write itself, including hidden references disguised with base64 encoding. It also suggests reviewing which users, API tokens and integrations have write access to the account and rotating those credentials, deploying a strict content security policy that limits which scripts can run, and treating any card number entered on the site on Monday as potentially exposed. Since a snippet that looks clean now may have served the malicious code earlier in the day, the firm advises checking server logs going back to Monday morning and asking Optimizely directly which projects were changed and when.
For anyone who visited one of the affected sites on an iPhone or iPad on Monday, researchers recommend updating to iOS 18.7.3 or iOS 26.3 or later, both of which close the flaws the exploit kits relied on. Anyone who made a cryptocurrency payment through one of the sites that day should double check that the address they paid matches the one they intended to use, since a swapped address cannot be reversed once funds are sent. Shoppers who entered card details on an affected site should watch their statements closely in the coming weeks.
Sources: The Hacker News, citing research from Report URI, Cynet and StepSecurity, and Optimizely’s own incident notice.

