Home / Cybersecurity News / Major Security Flaw in Optimizely Exposes BBC, CNN, and Zoom to Supply Chain Malware Attack

Major Security Flaw in Optimizely Exposes BBC, CNN, and Zoom to Supply Chain Malware Attack

At least 178 top-tier web destinations unwittingly served a variety of malware exploits against unsuspecting visitors over a 24-hour period, following a severe security vulnerability discovered within the systems of Optimizely. The company specializes in helping major websites customize user experiences, run A/B testing, and deploy new site features. Cybersecurity experts point out that the incident—which saw data-stealing malicious software silently injected into high-profile platforms including the BBC, CNN, Equifax, Ledger, and Zoom—was significantly exacerbated by the reality that very few popular websites enforce strict governance or restrictions on the sources of third-party content loaded onto their pages.

According to a detailed incident analysis published by the security firm Report URI, malicious JavaScript code was served to the visitors of 178 distinct organizations via Optimizely’s platform on November 16. Report URI researcher Scott Helme reported that the payload delivered by the malicious JavaScript script was dynamically rebuilt 26 times over the course of the day. This rotating payload dropped a multi-purpose malware kit designed to siphon sensitive user data, including payment card information, browsing cookies, and screenshots, while actively intercepting and swapping any cryptocurrency payment addresses with destinations controlled by the attackers.

Helme also noted that the affected websites served exploit code custom-tailored to target known security vulnerabilities in older Apple iPhone and iPad devices. Identified in the threat intelligence community by names such as "DarkSword" and "Coruna," these are advanced zero-click exploit kits that seamlessly chain together roughly half a dozen individual security flaws. When executed, they seize complete administrative control over outdated mobile devices and extract data without requiring any user interaction.

"The important lesson here is that trusted JavaScript doesn’t always remain trustworthy," Helme wrote in his analysis. "A website can be compromised through a third-party dependency without its own code or infrastructure ever being breached."

When contacted for comment regarding the breach, Optimizely confirmed that on November 16, 2026, it "identified a security incident in which an unauthorized party exploited a vulnerability in the Optimizely Experimentation to add malicious JavaScript to some customer projects."

In an official written statement, the company elaborated on its response: "We acted swiftly to contain the incident and have fully remediated the identified vulnerability. These measures included blocking access to the vulnerable path, deploying a fix, removing the injected code from affected projects, ending active sessions, revoking tokens, and resetting access for affected user accounts. We have also implemented additional protections to prevent malicious code from being delivered in Cloudflare. While the incident has been fully remediated, we are working with third-party experts on a comprehensive investigation."

The architecture of the modern web relies heavily on third-party scripts. Many prominent web properties no longer display core content properly unless visitors grant permission for dozens of third-party vendors to serve JavaScript. As a powerful web scripting language that enables interactive elements, JavaScript executes directly on the end user’s device. It possesses the capability to read information rendered in the browser, track user behavior, and even dynamically modify a website’s appearance or core content.

A primary driver behind the heavy reliance on JavaScript is its utility in precise browser fingerprinting and visitor tracking. According to the 2025 Web Almanac published by the HTTP Archive, the median homepage loads a minimum of 22 separate JavaScript files. However, as the Optimizely incident vividly demonstrates, a security compromise at a third-party vendor’s infrastructure can quickly snowball into a massive supply chain attack affecting downstream websites that end up unknowingly serving tampered and malicious code to their audiences.

Zach Edwards, a security researcher at Infoblox and co-founder of the ad-tracking service DecryptAds, explained that Optimizely is a vendor that frequently collects data outside standard user consent workflows. Its JavaScript snippets are typically embedded as close to the top of the Document Object Model (DOM) as possible to ensure that it renders among the first elements on the page, a crucial requirement for A/B testing tools.

"So to make the product work as expected, this code is setup to fire immediately on-page load, and not restrict rendering behind a consent dialog box," Edwards said. "This means that this supply chain attack didn’t require any clicking or consent to trigger—most of the impacted clients would immediately serve up the payload as soon as someone loaded the page, further increasing risks from this type of JavaScript snippet being compromised."

Attackers Used Optimizely to A/B Test Malware on Top Websites – Krebs on Security

Websites can significantly minimize the probability that a security breach at a third-party content provider spirals into a widespread supply chain attack by fully implementing and enforcing Content Security Policies, commonly known as CSPs. These policies explicitly define and restrict the domain names authorized to serve third-party content to a web page. However, Edwards pointed out that the vast majority of websites—outside of the largest e-commerce retailers, social media giants, and financial institutions—either neglect to implement CSPs entirely or leave them intentionally overly permissive for marketing and tracking flexibility.

"With literally all websites which embed 3rd party JavaScript resources, if you don’t have a content security policy then if any of those partners get compromised, new domains can be injected into your website via JavaScript which won’t be stopped," Edwards warned. "We’re in the age of JavaScript supply chain attacks and yet almost no one is talking about why content security policies were invented and how this is largely the solution for operators, even though it’s not always simple to get it initially deployed."

To understand how unprepared the web ecosystem was for this specific event, Report URI analyzed the CSP configurations of the websites impacted by the Optimizely attack. Their findings revealed that 68 of the affected sites had no Content Security Policy in place whatsoever. Furthermore, 50 sites maintained a CSP that was permissive enough to allow both the malicious malware payload and the subsequent data theft to execute unimpeded. Only 24 of the affected sites—representing a mere 15 percent—possessed CSP configurations robust enough to fully block the malicious payload.

The broader deployment of CSPs across the busiest websites on the web remains low. According to data from Helme’s scanning site, crawler.ninja, which evaluates the top one million websites daily for security posture, overall CSP adoption hovers around 10 percent. Helme expressed hope that this high-profile incident will serve as a catalyst, encouraging more organizations to adopt effective CSPs. He noted that the situation could have been considerably more catastrophic: according to Report URI’s preliminary estimates, the operators of the malware campaign managed to steal only around $7,500 worth of virtual currency from affected users, alongside an undetermined volume of payment card records.

Reflecting on the systemic vulnerability of the modern internet, Helme frequently compares the widespread absence of defensive controls like CSPs to the lawless environment of the American Wild West.

"Organizations are running all this code, but they don’t know what it’s doing," Helme said in an interview with KrebsOnSecurity. "This is why we keep seeing such large scale breaches in places [where] there are no checks and rules in place on the code we’re running, so this was kind of inevitable. Once an attacker gets to the point of running code on your site, the question is what do they want to do with that and can they write the script to do it. Now with AI that’s not a problem anymore."

Historically, internet users seeking to control which JavaScript elements are permitted to execute on web pages have relied on simple script-blocking browser extensions, such as NoScript. Yet, these specialized tools have traditionally appealed primarily to advanced security and privacy enthusiasts willing to endure the friction of manually reviewing and approving dozens of individual JavaScript requests on every newly visited website.

More recently, modern ad-blocking software has proven capable of intercepting and neutralizing a significant portion of third-party JavaScript requests automatically. While standard cybersecurity guidance a decade ago emphasized the installation of traditional antivirus software and local firewalls, industry norms have evolved. Today, a robust ad or script blocker functions effectively as a user’s primary web firewall.

Optimizely published an updated technical report detailing its initial findings regarding the security incident.

Tagged:

Leave a Reply

Your email address will not be published. Required fields are marked *