Malicious JavaScript Injected via Compromised Optimizely Snippet Affects 178 High‑Profile Websites
What Happened – On 16 November 2026, security researcher Scott Helme and the Report URI team discovered malicious JavaScript embedded in Optimizely‑delivered files for 178 organizations, including CNN, BBC, Zoom, Salesforce and GitLab. Optimizely is a widely used experimentation platform that website operators embed through a small “snippet” of JavaScript. In this supply‑chain attack the snippet was hijacked, allowing attackers to serve code that could (1) redirect cryptocurrency payments, (2) skim payment‑card details, and (3) drop exploit kits targeting vulnerable iOS devices.
The timeline recorded a clean Optimizely snippet captured from the BBC at 02:21 UTC, followed by a compromised version at 04:21 UTC. By 08:28 UTC the malicious payload was actively loading on bbc.com. Optimizely confirmed the incident, patched the underlying vulnerability, and removed the injected code from all affected projects. By 23:11 UTC the same day, Report URI reported that the monitored Optimizely files were clean again and have remained so.
Because the compromised code was delivered from a trusted third‑party service, the attack did not require attackers to breach each individual website. Instead, they leveraged the shared Optimizely infrastructure to reach visitors’ browsers. The incident does not prove that the BBC’s own servers were compromised, nor that every visitor was infected; it demonstrates how a legitimate third‑party script can become a conduit for malicious activity.
Why It Matters for Trust & Control Assurance – The episode underscores the need for continuous monitoring of third‑party script behavior and robust vendor‑oversight controls.
Who Is Affected – Media publishers, video‑conferencing platforms, SaaS providers, and any organization that embeds Optimizely or similar third‑party scripts (e.g., news sites, streaming services, enterprise portals).
Recommended Actions –
- Inventory all third‑party scripts on your web properties and map them to a vendor‑risk register.
- Implement runtime script‑integrity monitoring (e.g., Subresource Integrity, CSP, or a dedicated SCA tool) to detect unauthorized changes.
- Enforce strict change‑management processes with your vendors, requiring evidence of secure development and rapid patching.
- Review recent payment activity for any transactions made on 16 Nov 2026 and verify cryptocurrency addresses.
- Update all client devices to the latest OS releases and ensure anti‑malware solutions are active.
Technical Notes –
- Attack vector: Compromise of Optimizely’s JavaScript delivery pipeline, enabling injection of malicious payloads into the snippet served to end‑users.
- Payload capabilities: Cryptocurrency‑payment redirection, payment‑card data skimming, and delivery of iOS exploit kits targeting older iPhone/iPad versions.
- Scope: 178 organizations identified; Optimizely reports ~190 k live sites use its platform globally.
- Mitigation: Optimizely patched the vulnerability and cleared infected files; no further malicious activity reported after 23:11 UTC on 16 Nov.
Source: Malwarebytes Labs – CNN, BBC, Zoom and other sites served malicious code in supply‑chain attack