How the Optimizely attack actually worked
Optimizely Web Experimentation lets marketing and product teams change page behavior without an engineering release. Customers embed a JavaScript snippet on their pages, and the browser loads a project-specific file from Optimizely's CDN. That file contains Optimizely's runtime code and customer-authored content: experiment variations, audience logic, and an optional Project JavaScript block that runs on every page where the snippet loads.
The attacker did not modify Optimizely's platform code. The attacker used a flaw in the account signup flow to gain write access to customer projects, then wrote a loader into the Project JavaScript field. Everything else in each customer's snippet stayed intact. Because the file still came from cdn.optimizely.com with Optimizely's certificate, every affected browser treated the payload as trusted first-party code.3
The delivery mechanism is the same one that makes the platform useful. The architecture exists so that marketing teams can change page behavior without a release. That same design means anyone with write access to a project can execute arbitrary JavaScript in the origin of every site that embeds the snippet.
The payload was rebuilt 26 times over the course of the day. The initial script swapped cryptocurrency wallet addresses. A card skimmer was added at 13:43 UTC, targeting card numbers, expiry dates, and CVV codes typed into a site's own payment forms. Card fields inside payment provider iframes such as Stripe Elements and Adyen were out of its reach. Card fields on the merchant's own page were not. On iPhones and iPads running iOS 18.6 or older, affected pages reloaded every 60 seconds and loaded the Coruna and DarkSword exploit kits.7
Report URI examined 1,611 Optimizely snippets and found 188 carrying the malware, belonging to 178 organizations. The firm believes the number of victims is higher because the team only examined the snippets it managed to find in time. Banking and finance accounted for the largest affected sector with 32 organizations, followed by technology with 23. The named list includes Zoom, the BBC, CNN, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger, and Peacock. Staging and preview sites were infected at eight organizations because they shared the production Optimizely project.2
The confirmed cryptocurrency haul was modest, about $7,040 to $7,150 by 19:25 UTC. The total volume of stolen payment card details and browser cookies remains unknown.6