
Optimizely says attackers abused a vulnerability in its Web Experimentation product to push malicious JavaScript through the websites of 178 organisations, including major global brands and media outlets such as the BBC, CNN, Zoom, Salesforce, GitLab, IKEA and Equifax. The campaign turned a trusted third-party web tool into a malware delivery channel, with researchers saying the injected code was used for cryptocurrency theft, payment-card skimming, browser data collection and, in some cases, payloads that could target vulnerable Apple devices.
How the Optimizely supply-chain attack worked
The core of the incident was not a direct breach of each affected company. Instead, attackers exploited a vulnerability in Optimizely’s account signup flow and used it to impersonate users with administrative access to customer projects. That gave them a path to alter JavaScript associated with those projects and inject malicious code into the scripts delivered to website visitors.
Optimizely’s Web Experimentation product is used by organisations to run A/B tests and personalise website experiences. Customers place a JavaScript snippet from Optimizely on their sites, and that code runs in visitors’ browsers. In this case, the attacker-modified script continued to be served from Optimizely’s legitimate content delivery network with a valid security certificate, making it look like ordinary trusted code to browsers and end users.
That distinction matters. This was not described as a CDN cache-poisoning event, and it was not a conventional theft of customer passwords. The attackers instead abused the trust relationship between websites and a third-party service that was already authorised to execute code in the browser.
Why this campaign was so dangerous
Security researchers said the malicious code could automatically load when visitors opened affected websites. That meant no download prompt, suspicious link click, or other deliberate action was necessarily required from the user. For a broad set of sites that depend on experimentation and analytics services, that is a major risk: code from one provider can reach users of many unrelated organisations.
Researchers also identified payloads that could exploit vulnerable Apple devices, specifically through the Coruna and DarkSword exploit chains. Those payloads targeted known iOS vulnerabilities and could potentially allow deeper compromise of affected iPhones and iPads.
The payment-card angle was also significant, though not universal. According to the source material, the malicious code could not access information entered into isolated, hosted payment frames such as Stripe or Adyen. However, cards entered directly into website forms were potentially exposed.
What the attackers inserted into customer projects
The malicious JavaScript was placed into a customer-configurable field known as Project JavaScript. Because that code was served through Optimizely’s own infrastructure, it remained visually and technically tied to a trusted source. That is what made the campaign especially effective: the attack blended in with normal web delivery and exploited the browser’s trust in the source domain.
Modern websites frequently load external scripts from analytics, advertising, experimentation and personalisation platforms. Those scripts are powerful because they can interact with page content and run directly in the browser. But that same power means a compromise in one service can affect many websites at once.
Optimizely’s response and timeline
Optimizely said attackers exploited the signup-flow vulnerability on 16 November 2026. The company said it detected the activity, blocked the malicious outbound code, closed the vulnerability, revoked affected tokens, terminated active sessions and removed the injected code from customer projects.
In its incident report, Optimizely said the vulnerability was remediated at 16:10 UTC and that malicious code had been removed from all affected projects by 22:24 UTC. The company also said it engaged Mandiant to assist with forensic investigation and that the incident was limited to its Web Experimentation product, not its other experimentation offerings.
What researchers found across affected sites
Report URI said it identified 188 infected snippets across 178 organisations after reviewing 1,611 scripts. The researchers noted that the true number could be higher because their investigation was limited to the scripts they were able to examine. They also traced about $7,040 in cryptocurrency payments to attacker-controlled wallets during the campaign.
The scale of the incident shows how a single compromised dependency can ripple outward. Organisations that had not been individually breached still ended up serving malware to their visitors because they trusted a shared service to deliver code on their behalf.
The role of Content Security Policy and other defenses
Researchers highlighted the limited use of properly enforced Content Security Policies, or CSPs, as a contributing weakness. CSP lets website operators restrict which domains may execute scripts or provide other resources. With a restrictive enough policy, the external payload could have been blocked even if the initial script came from a legitimate Optimizely domain.
That leaves a broader lesson for application security teams: third-party JavaScript is effectively executable code from another organisation, even if it is often treated as a routine integration. Once it is granted permission to run in the browser, it deserves the same scrutiny as any other high-value dependency.
Technologies such as Subresource Integrity, script monitoring, CSP and software supply-chain security tools each offer a different layer of protection. SRI can help verify that a static resource has not changed, while CSP can limit where scripts come from and what they are allowed to do. But dynamically changing experimentation scripts can make those controls harder to apply consistently.
Why this incident matters beyond Optimizely
This attack is a reminder that the modern web depends on a long chain of trust. A brand may secure its own infrastructure well, yet still expose visitors if a trusted third-party script is altered upstream. In that sense, the incident is not only about one product vulnerability; it is about how websites manage the code they allow into the browser.
For security teams, the practical takeaway is that external scripts need visibility, change monitoring and clear controls over execution. Trusting a provider today does not mean every future version of its code should automatically be trusted. The browser is now one of the most important execution environments in application security, and the supply chain that feeds it is part of the threat model.
As web applications become more reliant on external services, supply-chain security must extend beyond libraries and build pipelines to include the scripts that run on users’ devices. The Optimizely incident shows how quickly a single weakness in a shared platform can become a broad web-wide problem.
Source: Original report
Was this helpful?
Explore more: Application Audit & Review More Cybersecurity Tech News
Last Modified: December 1, 2026 at 10:33 pm
3 views

