Optimizely Security Incident Injected Malicious JavaScript Into 178 Websites
- [email protected] (Ross Kelly)
- 433 views
Researchers found malicious code in 188 Optimizely snippets across 178 organizations; the scripts targeted crypto, payment data, cookies and some iOS devices.

Malicious JavaScript inserted through Optimizely’s Experimentation platform reached visitors to at least 178 websites, including sites associated with CNN, IKEA, HSBC, Salesforce, TalkTalk and the BBC. The scripts could replace cryptocurrency wallet addresses, collect payment card details and steal browser data. Researchers also observed an iOS exploit chain delivered through affected pages.
The scale is based on a review of more than 1,600 Optimizely snippets by researchers at Runtime, as reported by cybersecurity researcher Scott Helme of Report URI. They identified 188 infected snippets linked to 178 organizations. Helme cautioned that the total may be higher because the review covered only a selection of snippets.
What the injected code could do
The attack took advantage of a feature that lets developers add JavaScript to pages through Optimizely’s Experimentation product. Optimizely said an unauthorized party exploited a vulnerability in Experimentation to add code to some customer projects. Because the platform’s snippets can run as part of a customer’s website, visitors could encounter the malicious code while browsing an affected page.
Helme described the malware as a multi-purpose kit. Its capabilities included changing cryptocurrency wallet addresses, skimming payment cards, stealing cookies and taking screenshots. On iPhones and iPads, the code could also load the Coruna and DarkSword iOS exploit kits. Helme reported that cryptocurrency had already been taken, with transactions to the attackers verified.
The wallet replacement feature was designed to catch addresses in several common cryptocurrencies: Bitcoin, Ethereum, Solana, Dogecoin and Litecoin. The script looked for a valid address on a page and substituted one controlled by the attackers. It also rescanned pages when their contents changed. As Helme explained, copying an address from an affected page—or elsewhere while that browser tab remained open—could result in the attacker’s address being pasted instead.
That behavior creates a practical risk beyond a visitor simply viewing an infected page. A user might copy a legitimate address and see what appears to be the same value when pasting it, without realizing that the destination has changed. The source material does not specify how many people encountered the wallet replacement or how much cryptocurrency was taken; the confirmed transactions establish that at least some theft occurred.
Payment forms and browser data
Researchers observed a card skimmer at about 13:43 UTC. It was configured to collect card numbers, security codes and expiration dates entered into payment forms on affected websites. The researchers said card details entered into hosted payment iframes, including those provided by Stripe and Adyen, were not affected. That distinction applies to those hosted fields; it does not establish that every payment flow on every affected site was protected.
The reported theft of cookies and screenshots adds other potential exposure for visitors. Cookies can hold information used to maintain a web session, while screenshots may capture content displayed in the browser. The findings identify these capabilities in the malware, but do not quantify the amount of data collected or name specific accounts or individuals affected.
iOS exploit chain included in the attack
On Apple mobile devices, the script loaded an exploit chain inside a hidden iframe. Helme said the Coruna loader was byte-identical to a sample his team had analyzed in October from a separate operation. The malware’s own comments indicated that iOS 18.7.3 and later, and iOS 26.3 and later, were patched against the relevant exploits.
Helme also described a visible behavior on devices running iOS 18.6 or earlier: affected pages reloaded every 60 seconds as the code retried the exploit. That observation gives users and support teams a possible symptom to look for, but it does not establish that every reload indicates infection. The reported version details are specific to the exploit kit’s comments; the source does not provide a full list of affected device models or a complete account of exploit success rates.
Optimizely’s response and what teams should check
Optimizely said it had fixed the vulnerability, removed injected code from affected projects, secured affected user accounts and added protections intended to stop unauthorized code from being delivered. The company also said it was in close contact with affected customers and directed users to its incident response status page for updates.
For teams using Optimizely Experimentation, the immediate operational question is whether their projects or embedded snippets were among those affected. Administrators should follow Optimizely’s customer communications and incident status updates, then review any customer-specific guidance before deciding what checks to run. The reported infection count covers the snippets researchers examined; it cannot confirm the status of an individual tenant or site.
Website owners should also consider the exposure window when assessing their own response. The malicious scripts changed several times over the course of several hours on Monday, according to Helme, so the code visitors received may have varied during that period. Teams investigating possible impact will need to use their own available records and Optimizely’s incident details to establish whether the affected code ran on their pages and what follow-up is appropriate.
For visitors, the findings support caution around cryptocurrency transfers and payment details entered during the incident. Anyone who copied a wallet address while an affected page was open should verify the destination independently before sending funds. Site operators should keep tracking Optimizely’s updates and check for customer-specific findings as the investigation develops.