Hijacked Optimizely scripts hit CNN, BBC and Zoom visitors

Published

Visitors to some of the best-known sites on the web may have been served malicious code on November 16 without any of those sites being hacked directly. Security researcher Scott Helme and his team at Report URI found malicious JavaScript in Optimizely files tied to 178 organizations, including the BBC, CNN, Zoom, Salesforce and GitLab, according to a write-up by Malwarebytes.

The injected code could redirect cryptocurrency payments, skim payment card details and deliver exploit kits aimed at vulnerable iPhones and iPads. Report URI has published the full list of affected sites.

One shared script, 178 front doors

Optimizely sells website testing and personalization. Sites add a small JavaScript snippet that loads Optimizely's code into every visitor's browser so the page can be changed and measured. That same trusted path is what carried the attackers' code. Instead of breaking into each site, the attackers abused a service all of them relied on, which is what makes this a supply-chain attack.

The reach of the underlying platform is large. Website technology tracker BuiltWith detects Optimizely on roughly 190,000 live sites, although that is overall usage, not the number affected here.

The injection unfolded on bbc.com in hours

Report URI's timeline for the BBC shows how it played out. A clean copy of the BBC's Optimizely snippet was captured at 02:21 UTC on November 16, an injected version appeared at 04:21 UTC, and by 08:28 UTC the main malicious payload was loading on bbc.com. That does not mean the BBC's own servers were breached, or that every visitor was infected. It shows a third-party script on a trusted site becoming the delivery route.

Optimizely confirmed the incident and says it fixed the vulnerability and removed the injected code from affected projects. Report URI said every infected Optimizely file it was monitoring was clean by 23:11 UTC on November 16 and has stayed clean since. Neither the vulnerability Optimizely fixed nor the party behind the attack has been publicly identified in the reporting available to us.

Third-party script compromise is a recurring theme in supply-chain attacks, as our coverage of the LiteLLM compromise showed in a different corner of the ecosystem.

Update iOS, then check November 16 payments

For website operators, the case is a reminder to monitor what third-party scripts actually do and to restrict the scripts and connections they can pull in. Visitors cannot be expected to audit a news site's software supply chain before they read the headlines.

This briefing is provided by IntelFusions for informational and defensive purposes only. It is based on sources assessed to be reliable at the time of writing, and analytic judgments carry the confidence levels indicated. Indicators of compromise are defanged; re-arm them only in controlled environments. IntelFusions is not affiliated with the organizations named and makes no warranty as to completeness or accuracy.

Read the full analysis on IntelFusions