The Experimentation Trap: How an Onboarding Flaw Turned Optimizely Into a Global Malware Distributor

The Experimentation Trap: How an Onboarding Flaw Turned Optimizely Into a Global Malware Distributor

On Monday, November 16, 2026, millions of internet users browsing the world’s most frequented websites—from Zoom and Salesforce to the BBC, CNN, and IKEA—unknowingly pulled a weaponized script into their local browser memory. The file arrived with a pristine TLS certificate, originating from cdn.optimizely.com, a content delivery network explicitly whitelisted by corporate firewalls across the globe.

The underlying websites had not experienced a server breach, their infrastructure was intact, and their engineering teams had pushed no rogue deployments. Instead, an attacker bypassed the perimeter by exploiting a structural blind spot in the modern web: the unchecked trust granted to third-party experimentation and analytics scripts.

The Logic Failure in the Onboarding Flow

The incident, tracked as CVE-2026-132224, originated in a flaw within the account registration and onboarding pipeline of Optimizely Web Experimentation. Optimizely is used by enterprise product managers and marketing teams to run A/B split tests, alter interface components dynamically, and track user engagement. To operate seamlessly across an enterprise portal, Optimizely requires customers to embed a lightweight JavaScript snippet into their website header.

That snippet contains a field called Project JavaScript (projectJS), an open text space where client developers write arbitrary code designed to execute on every single page load before other experiments trigger.

According to vulnerability advisories from NIST and MITRE, Optimizely’s registration service suffered from CWE-642, an external control of critical state data defect. Attackers discovered that by manipulating parameters during account signup, they could bypass isolation barriers, impersonate existing customer profiles, and write directly to customer project configuration files.

The attacker did not poison the CDN cache or tamper with DNS servers. They simply injected an external script loader directly into the projectJS configuration field through Optimizely’s legitimate management tier. When Optimizely rebuilt and distributed the corresponding JavaScript asset across its edge caches, the company’s own authenticated pipelines served malicious code under its trusted digital signature.

26 Builds in 18 Hours: The Anatomy of a Live Attack

As uncovered by cybersecurity researcher Scott Helme of Report URI, the compromise surfaced publicly at 04:21 UTC on November 16 when rogue JavaScript first appeared in the BBC’s production snippet. Roughly an hour later, the attackers stood up command-and-control infrastructure under the domain 1688360.cc, which served the secondary stage loader track.js.

Over the next 18 hours, the attackers operated like a software product team under a continuous integration pipeline, rebuilding and deploying modified versions of their payload 26 times.

The primary utility was a multi-tiered exploit toolkit:

  • Cryptocurrency Clipping: The script scanned webpage forms, clipboards, and outgoing transactions, intercepting wallet addresses across eight networks—Bitcoin, Ethereum, Solana, TRON, TON, Litecoin, Bitcoin Cash, and Dogecoin—and swapping them for attacker-controlled addresses.
  • Payment Card Skimming: By 13:43 UTC, attackers injected a digital credit card skimmer that captured cardholder names, numbers, expiration dates, and CVVs entered into payment forms, relaying raw credentials back to 1688360.cc/card.php.
  • Session Hijacking: The payload systematically extracted session cookies and captured DOM screenshots to steal active enterprise credentials.
  • Mobile Device Exploitation: When visiting browsers were identified as iPhones or iPads running iOS 18.6 or older, the loader spawned an iframe delivering the "Coruna" and "DarkSword" zero-click exploit kits, attempting remote device compromise.

At least 178 enterprise organizations were impacted, including Equifax, HSBC, GitLab, Ledger, and Peacock. Even Optimizely’s own operational portals, including login.optimizely.com, were caught serving the compromised snippet.

The Browser’s Fatal Blind Spot

Optimizely contained the vulnerability by 01:02 UTC on November 17, removing the malicious additions, killing user sessions, and enforcing fresh credential resets. On November 24, the Cybersecurity and Infrastructure Security Agency (CISA) added CVE-2026-132224 to its Known Exploited Vulnerabilities catalog.

Until engineering teams treat third-party client tags with the same strict process isolation and sandboxing applied to untrusted backend code, the browser perimeter remains an illusion.

Yet the incident underscores a persistent security paradox in client-side architectures. Enterprise security operations centers invest billions securing cloud workloads, container registries, and microservices. But when a modern web application boots inside a browser, it delegates absolute DOM authority to third-party marketing tags.

Tools like Subresource Integrity (SRI)—which ensure browser scripts match an exact cryptographic hash—are almost never implemented on A/B testing scripts because marketing teams alter tests on a daily basis without engineering code deploys. Meanwhile, Content Security Policies (CSP) universally permit script execution from cdn.optimizely.com because the domain is deemed reputable. When the control plane of a SaaS tag manager collapses, every client browser relying on that domain becomes an open execution environment for attackers.

CybersecuritySupply Chain AttacksJavaScriptWeb SecurityOptimizely

Source: Ars Technica