Skip to content
The Executives BriefThe Executives Brief

Hackers poisoned Optimizely JavaScript on 178 sites, including CNN, Zoom and the BBC

The malicious code was signed with a valid certificate for Optimizely's own CDN, and it swapped crypto wallet addresses, skimmed payment cards and shipped iOS exploits.

ByLama Al-RashidTechnology Correspondent, The Executives Brief
·3 min read
Hackers poisoned Optimizely JavaScript on 178 sites, including CNN, Zoom and the BBC
Executive summary

ReportURI says 178 websites running Optimizely's personalization snippets, among them CNN, Zoom, the BBC and Salesforce, served visitors a malware cocktail that targeted cryptocurrency wallets, payment cards, cookies, screenshots and iPhones. For executives, the case proves that a vendor contract and a valid security certificate no longer guarantee the code running on your customers' devices is safe.

ReportURI says it identified 178 websites running tampered Optimizely JavaScript, and the list reads like a who's who of the consumer internet: CNN, Zoom, the BBC and Salesforce among them. The security firm disclosed the finding Tuesday, describing a malware cocktail that went after cryptocurrency wallets, payment card data, cookies and screenshots, and that carried iOS exploit kits for iPhones and iPads. Treat 178 as a floor rather than a final tally. The original reporting describes hundreds of websites serving the same poisoned code, which means the full blast radius is still being counted while affected companies work out what actually ran on their visitors' machines.

What makes this a different class of incident is the signature. Optimizely serves JavaScript "snippets" that bundle the vendor's own code together with code supplied by each customer, and those snippets execute on every page that customer serves. They can be delivered straight from Optimizely or from a customer endpoint. In this case, attackers wrote their own code into a portion of each affected customer's JavaScript and then had it delivered from cdn.optimizely.com. A valid certificate for that domain signed the JavaScript. That is the detail security teams should sit with: the browser did exactly what it was built to do. It saw a trusted domain, a valid certificate and a signed script, and it ran the code.

Once loaded, the payloads worked several angles at once. Some components swapped users' cryptocurrency wallet addresses for addresses controlled by the attackers, a move that converts a legitimate transfer into a one-way payment with no reversal and no chargeback. Other components skimmed payment card details, stole cookies and captured screenshots. On iPhones and iPads, the campaign delivered iOS exploit kits known as Coruna and DarkSword. Web-delivered iOS exploits are historically among the harder and more valuable tools in an attacker's kit, which is why their appearance in a mass web campaign is notable rather than routine.

The attack class itself is familiar. For years, so-called Magecart-style campaigns have targeted the third-party scripts that e-commerce and media sites bolt onto their pages, historically by compromising one vendor and inheriting every one of that vendor's customers in a single stroke. Tag managers, analytics packages, chat widgets and A/B testing tools share one trait: they execute with full page privileges, and they are updated by someone other than the site owner. Optimizely's personalization product sits squarely in that category. Its entire purpose is to run experiments on live traffic, which means it has to be present everywhere on the page, for every visitor, all the time.

For executives, the compliance exposure arrives quickly and awkwardly. Payment card theft pulls in PCI DSS obligations and, depending on jurisdiction, state breach-notification statutes and GDPR-style reporting clocks. Stolen cookies translate into session hijacking risk for logged-in users. Swapped wallet addresses translate into losses that are, by design, irreversible. And the affected companies did not obviously do anything wrong. They bought a mainstream enterprise tool from a mainstream vendor, integrated it the way the documentation instructed, and inherited a compromise they could not see from the outside.

The names on the list amplify the story. CNN, Zoom, the BBC and Salesforce are not obscure properties; they are high-traffic destinations that typically employ security teams, run bug bounties and put vendors through review processes. That is the uncomfortable part. Due diligence that stops at the contract, the questionnaire and the compliance report does not cover a live JavaScript pipeline that can be rewritten after the paperwork is signed.

The practical questions boards should now be asking are unglamorous. Which third-party scripts run on customer-facing pages, and who has the ability to change them? Is that change logged, and would anyone notice? Are subresource integrity checks or a content security policy in place, and would either have caught a modified snippet served from a vendor's own CDN? Is there monitoring that can distinguish an A/B test rollout from a malicious injection? None of those controls are free, and all of them add friction to marketing and product velocity. That tradeoff just became considerably more concrete.

The deeper issue is trust architecture. The web economy runs on the assumption that a valid certificate from a reputable content delivery network means the code inside is legitimate. This campaign is a reminder that a certificate proves who served a file, not what the file does. Until that gap closes, every company that embeds a vendor's script into its own pages is, in effect, running someone else's code on its customers' devices and staking its brand on the outcome.

Executive ActionsLocked

This story's Key Insights and Take-aways are locked.

Create a free account to unlock Executive Actions for one credit.

Register to Unlock

Always free for Executives Club members. Join the Club

More in Technology