Security
Optimizely Flaw Weaponized to Inject Malware Across 178 Major Websites
Attackers compromised a widely-used experimentation platform to deliver cryptocurrency theft, payment-skimming malware and iOS exploits to visitors of BBC, CNN, Zoom and other global brands.
InfoQ
A vulnerability in Optimizely's Web Experimentation platform became a vehicle for attackers to distribute malicious JavaScript to the websites of at least 178 major organisations, including the BBC, CNN, Zoom, Salesforce, GitLab, IKEA and Equifax. The compromise allowed unauthorized actors to reach millions of website visitors without compromising individual brands directly—a hallmark of software supply-chain attacks with far-reaching consequences.
How the Attack Worked#
Optimizely's experimentation tool enables organisations to run A/B tests and personalise user experiences through injected JavaScript. When customers embed Optimizely's code snippet into their websites, it executes automatically in visitor browsers.
Attackers exploited a flaw in Optimizely's account signup flow to gain administrative access to customer projects. They then modified a customer-configurable field—Project JavaScript—injecting their malicious payloads. Because these scripts continued to be served from Optimizely's legitimate content-delivery network with valid SSL certificates, browsers trusted them as coming from a reputable source. No password theft or CDN cache-poisoning was required.
What the Malware Did#
The injected code performed multiple functions across compromised sites:
- Cryptocurrency theft and browser data harvesting
- Payment-card skimming from forms entered directly on websites (though isolated payment frames from providers like Stripe or Adyen were protected)
- iOS exploit delivery using the Coruna and DarkSword exploit chains to target known vulnerabilities in iPhones and iPads, potentially giving attackers deeper access to mobile devices
Researchers at Report URI identified 188 infected snippets across the 178 affected organisations and traced approximately $7,040 in cryptocurrency to attacker-controlled wallets.
Why It Mattered#
This attack exposed systemic weaknesses in how organisations manage third-party JavaScript dependencies. External scripts execute with full browser privileges and can interact with page content—yet they're often integrated without the security scrutiny applied to internal code. Many affected sites relied on inadequate Content Security Policies (CSPs), which can restrict script origins and execution permissions but were underutilised.
Attackers discovered the vulnerability on 16 November 2026. Optimizely detected the activity, blocked outbound malicious code and revoked affected tokens by 22:24 UTC that same day, with Mandiant assisting the forensic investigation.

