Optimizely compromise delivered malware through 178 websites

src-71ff0fc1

A security incident involving Optimizely’s experimentation platform caused malicious JavaScript to be served to visitors of at least 178 organizations on November 16, 2026. The affected websites included major destinations such as the BBC, CNN, Equifax, Ledger and Zoom. The injected code could steal information, alter cryptocurrency payment addresses and deliver exploits targeting older Apple devices.

Optimizely said an unauthorized party exploited a vulnerability in Optimizely Experimentation to add malicious JavaScript to some customer projects. The company said it contained the incident, fixed the vulnerability and removed injected code. Its response also included blocking access to the vulnerable path, ending active sessions, revoking tokens and resetting access for affected accounts. Optimizely said it added protections to prevent malicious code from being delivered through Cloudflare and was working with third-party experts on an investigation.

A third-party script became a supply-chain route

The incident illustrates how a compromise at a service provider can reach visitors through otherwise legitimate websites. Organizations embed third-party JavaScript to support functions such as experimentation and personalization. Once included in a page, that code runs in the visitor’s browser and can access or change page content. In this case, the affected sites did not necessarily need to have their own infrastructure or application code compromised for visitors to receive the malicious script.

Report URI researcher Scott Helme said the malicious payload was rebuilt 26 times during the day. The changing versions delivered a multipurpose malware kit with capabilities that included stealing payment card data, cookies and screenshots, as well as replacing cryptocurrency payment addresses with addresses controlled by the attacker. The campaign also served exploit code tailored to known vulnerabilities in older iPhones and iPads.

The device exploits were associated with the names DarkSword and Coruna. The source describes them as zero-click exploit kits that combine multiple security flaws to take control of outdated devices and extract data. That distinction matters for defenders: a website visitor may be exposed simply by loading a compromised page, without clicking a link or responding to a consent prompt.

Researchers said Optimizely’s scripts are often placed early in a page load so that experimentation features can operate as intended. Zach Edwards, a researcher at Infoblox and co-founder of DecryptAds, said this placement can mean the script runs before a visitor interacts with a consent dialog. In a compromised deployment, that behavior can make malicious code available immediately when a page loads.

Content Security Policies can limit exposure

Content Security Policy, or CSP, gives site operators a way to define which sources are permitted to provide content such as scripts. A restrictive, correctly configured policy can prevent a page from loading code from an unapproved domain. It is not a substitute for securing vendors or reviewing dependencies, but it can add a browser-enforced boundary if a trusted provider or its delivery path is compromised.

Report URI’s analysis found substantial gaps among the affected properties. It reported that 68 sites had no CSP, while 50 had policies that still permitted the malicious payload and associated data theft. Only 24 affected sites—reported as 15 percent—had CSPs that fully blocked the payload. The figures show that merely having a policy is not enough: its allowed sources and rules determine whether it can stop an attack.

Helme’s site crawler.ninja, which scans the top million websites daily, put CSP deployment across the busiest sites at about 10 percent. Edwards said many sites either do not deploy CSP or configure it permissively, in part because strict rules can require work to accommodate existing third-party services. Organizations should inventory browser-loaded scripts, establish which vendors and domains are genuinely required, and test CSP changes before enforcing them. Policies should be monitored and revisited as site functionality and dependencies change.

Review browser-side dependencies and response controls

The incident also makes third-party JavaScript a practical governance concern for security and web teams. A vendor’s code may execute with access to the page and its visitors, even when the vendor is not part of the organization’s core application infrastructure. Teams can reduce unnecessary exposure by limiting scripts, reviewing where they load, and ensuring that changes to vendor integrations receive appropriate scrutiny.

Report URI estimated that the attackers obtained about $7,500 in virtual currency from the campaign; it said the number of payment card records taken was unknown. That estimate does not capture the full potential impact of code capable of collecting browser data or targeting vulnerable devices. Optimizely said it had remediated the identified vulnerability, while its investigation with outside experts continued.

For organizations using experimentation or other third-party scripts, the central defensive lesson is to treat browser-side dependencies as part of the attack surface. A vendor’s reputation does not guarantee that every script it serves will remain safe, and a CSP that is absent or overly broad may leave a compromised integration with few browser-level restrictions.