Skip to content

Optimizely Web Experimentation Compromise Served Malware from 178 Major Sites

Attackers modified JavaScript in Optimizely's Web Experimentation product, which then ran malicious code on websites of at least 178 organisations, including BBC and CNN. The injected scripts were served from Optimizely's legitimate CDN.

2 min readBased on 1 source13 views

TL;DR

  • Attackers hijacked customer JavaScript in Optimizely's Web Experimentation product and used it to deliver malware to visitors of at least 178 organisations.
  • The malicious code was served from Optimizely's own CDN with a valid certificate, so browsers saw nothing unusual.
  • Strict Content Security Policies and tighter review of third-party scripts could have limited the damage.

What happened

Optimizely's Web Experimentation product lets companies run A/B tests and personalise pages. Customers embed a JavaScript snippet supplied by Optimizely. According to InfoQ, attackers exploited a vulnerability in the product's account signup flow to impersonate users with administrative access to customer projects. They then changed the Project JavaScript field, a customer-configurable setting that controls the script loaded on each site.

Because the modified files were still delivered from Optimizely's legitimate CDN, visitors' browsers treated them as trusted. InfoQ notes that this was not a CDN cache-poisoning attack and not a theft of customer passwords.

Scope and payloads

Report URI identified 188 infected snippets across 178 organisations after examining 1,611 scripts, and said the real number could be higher. Affected names reportedly include the BBC, CNN, Zoom, Salesforce, GitLab, IKEA and Equifax. InfoQ says the payloads covered cryptocurrency theft, payment-card skimming and browser data collection. Researchers also found code that could deliver the Coruna and DarkSword exploit chains to vulnerable Apple devices. Report URI traced about $7,040 in cryptocurrency payments to attacker-controlled wallets.

InfoQ reports that the card-skimming component could not reach data in isolated, hosted payment frames such as Stripe or Adyen. Cards typed directly into ordinary website forms, however, were potentially exposed.

Timeline and response

Optimizely confirmed that the signup-flow vulnerability was exploited on 16 November 2026. According to its later incident report, the flaw was fixed at 16:10 UTC that day, and malicious code was removed from all affected projects by 22:24 UTC. The company revoked affected tokens, ended active sessions, and brought in Mandiant for forensics. It said the incident was limited to Web Experimentation and not its other experimentation products.

Why the attack worked

The main lesson from InfoQ's analysis is that the sites did not have to be breached individually. Their trust in a third-party script was enough. Content Security Policy (CSP) is a browser feature that lets site operators list which domains may run scripts. InfoQ's researchers said a sufficiently strict policy could have blocked the external payload, even though the first script came from a trusted Optimizely domain. They also noted that CSP is rarely enforced properly in practice.

Subresource Integrity (SRI) is another option. It checks that a fixed file has not changed. InfoQ points out that it is harder to use with experimentation scripts, which change on purpose and are updated dynamically.

Why it matters

For developers, any third-party script that runs in a visitor's browser is effectively code from another company. Teams should inventory external scripts, restrict them with CSP, and monitor for unexpected changes. Trusting a vendor today does not mean its next change is safe. Security reviews of front-end tooling should cover experimentation, analytics and advertising snippets as well as libraries and build pipelines.

For readers who track similar threats, our earlier coverage of TrojanPony shows another way attackers reach developers through trusted channels.

Sources

This article was written by Blozhik from the reporting below. Read the originals for full detail.

InOptimizely Supply-Chain Attack Delivers Malware Through Websites of Major Global BrandsInfoQ
Was this useful?

Keep reading

Discussion · 0

Sign in to join the discussion. Liking does not need an account.Sign inRegister
Loading comments…
blozhikDeveloper news from across the web, explained. Every story links to its original sources.