---
title: "Optimizely hacked: malicious script served on CNN, BBC and GitLab"
description: "A flaw in Optimizely's sign-up flow let an attacker inject malicious JavaScript into the scripts it serves to customers. Visitors to CNN, BBC, Zoom, Salesforce and GitLab were exposed to code targeting cryptocurrency and payment card data."
canonical: https://inyourgeek.com/en/articles/2026-11-17-optimizely-pirate-un-script-malveillant-servi-sur-cnn-bbc
type: article
author: "Sébastien Soulier"
publisher: "InYourGeek"
language: en
datePublished: 2026-11-17
dateModified: 2026-11-17
section: "Security"
tags: ["optimizely", "javascript", "supplychain", "malware"]
---
# Optimizely hacked: malicious script served on CNN, BBC and GitLab
> A flaw in Optimizely's sign-up flow let an attacker inject malicious JavaScript into the scripts it serves to customers. Visitors to CNN, BBC, Zoom, Salesforce and GitLab were exposed to code targeting cryptocurrency and payment card data.
November 17, 2026 · Security · 3 min
The incident was made public on Monday 16 November 2026. So far, most of what is known comes from a single publication, [Bleeping Computer](https://www.bleepingcomputer.com/news/security/optimizely-supply-chain-attack-delivers-malware-to-cnn-fox-news-bbc-salesforce-sites/), which reports Optimizely's confirmation and the work of security researcher Scott Helme. Everything below should be read with that caveat in mind.

## What Optimizely has confirmed

Optimizely sells an experimentation and personalisation platform: its customers load its JavaScript files into their own pages to test variants of their site. That mechanism is what was hijacked.

According to the statement sent to Bleeping Computer, an unauthorised third party exploited a vulnerability in the sign-up flow for Experimentation accounts, then used it to add malicious JavaScript to some customer projects. The company says it has blocked the vulnerable path, deployed a fix, removed the injected code, ended active sessions, revoked tokens and reset access for the affected accounts. It also says it blocked distribution of the code at the Cloudflare level and notified every affected customer. The investigation is ongoing, with updates promised on status.optimizely.com.

## A reach of 178 organisations

According to Scott Helme, who reported the attack on Monday, his team identified 188 infected Optimizely files belonging to 178 organisations, out of 1,611 scripts analysed. Bleeping Computer says it independently verified, using scans recorded by urlscan.io, that the malicious script loaded or attempted to load on many sites, including Zoom, KLM, GitLab, BBC, CNN, Smartsheet, Stamps.com and Salesforce. The list it cites also includes Fox News, Air France, Change.org, Bitly and UNICEF USA.

Salesforce said it is investigating and, as a precaution, making sure Optimizely scripts are disabled on its pre-production and production instances. The company has committed to notifying its customers if unauthorised access to their data is established.

## What the injected code does

The code added to Optimizely's files loaded a second script, `track.js`, hosted on the domain `1688360[.]cc`. Depending on the file, the address appeared in plain text or was Base64-encoded and then decoded with the `atob()` function. Scott Helme also found a variant able to run an embedded copy of the code if the remote script was blocked.

The analysis of `track.js` describes three main functions:

- replacing cryptocurrency wallet addresses displayed on the page with addresses controlled by the attackers;
- searching for payment card numbers, expiry dates and security codes as they are entered, and attempting to send them to the same domain;
- loading code targeting iPhones and iPads, which the researcher links to the Coruna and DarkSword exploit kits.

The script can also collect browser cookies, page addresses and screenshots. The wallets it contains had received around 7,000 dollars as of 16 November, but some were active before the attack: the amount actually stolen during the campaign remains hard to establish.

## What sites embedding third-party scripts can check

The source does not detail the protections in place on the affected sites, nor which ones might have limited the impact. Two mechanisms are nonetheless worth reviewing if you embed third-party JavaScript: Content Security Policy (CSP), which restricts the domains a page can load scripts from and send data to, and Subresource Integrity (SRI), which rejects a file whose hash has changed.

The embedded-code variant shows the limit of the first: blocking the external domain does not stop what is already inside the legitimate file from running. And an experimentation script is, by nature, modified continuously by its vendor, which makes it a poor fit for a fixed hash. That leaves the inventory: knowing which third-party scripts your pages load, on which pages, and whether they really need to be present where a payment is entered.

A third-party script runs with the same privileges as your own. This incident is a reminder that its security depends on a sign-up form you do not administer.
## Sources
- [Optimizely hack infected CNN, Fox News, BBC, Salesforce sites with malware](https://www.bleepingcomputer.com/news/security/optimizely-supply-chain-attack-delivers-malware-to-cnn-fox-news-bbc-salesforce-sites/) — bleepingcomputer.com
_Article written with AI assistance from the cited sources, reviewed and approved by a human before publication._

---

Equivalent HTML page : https://inyourgeek.com/en/articles/2026-11-17-optimizely-pirate-un-script-malveillant-servi-sur-cnn-bbc
Published by InYourGeek — https://inyourgeek.com/en/a-propos
Method and safeguards : https://inyourgeek.com/en/methode
All articles : https://inyourgeek.com/en/archives
