An attacker exploited a vulnerability in Optimizely Web Experimentation to inject malicious JavaScript into customer project snippets, affecting at least 178 organizations. Major entities impacted by the script hijacking campaign included CNN, BBC, Zoom, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger, Peacock, and TalkTalk. The incident came to light after researchers and security teams tracked the unauthorized modifications across multiple high-profile web properties.

Supply chain attacks involving third-party JavaScript libraries represent a significant risk for modern web applications. When attackers manage to compromise centralized script hosting or experiment management platforms, they gain the ability to execute arbitrary code within the browsers of visitors accessing legitimate websites. This technique bypasses traditional perimeter defenses because the malicious code is loaded directly from trusted content delivery networks and third-party domains.

During this campaign, the compromised snippets delivered several malicious payloads designed to target unsuspecting visitors. These included a loader, a crypto wallet replacement tool, a card skimmer to steal payment card data, and conditional iOS exploit kits known as Coruna and DarkSword. Key technical identifiers associated with the malicious infrastructure included cdn.optimizely.com, webshell.lol, and the OPTIMJACK identifier.

In response to the security incident, Optimizely posted an incident notice confirming the vulnerability exploitation and carried out a mass cleanup to remove the injected code from affected snippets. The company also secured customer accounts to prevent further unauthorized modifications. Security researchers and reporting outlets detailed the full scope of the attack, highlighting the variety of malicious payloads distributed through the compromised experimentation scripts.

The successful injection campaign underscores the widespread potential impact of third-party script compromises on global web traffic. Visitors to major news outlets, corporate platforms, and streaming services were unknowingly exposed to credential harvesting tools, financial theft utilities, and device-specific exploit kits. While the immediate malicious code has been removed, the incident demonstrates how rapidly an administrative or platform-level flaw can be leveraged against hundreds of prominent organizations.

Organizations using Optimizely are advised to review their project snippets and check for any unauthorized modifications rather than broadly blocking cdn.optimizely.com or affected domains, using targeted indicators instead. Maintaining strict monitoring of external script inclusions helps security teams detect supply chain tampering quickly. This event reinforces the broader security requirement to audit third-party integrations and maintain rigorous access controls across all web experimentation and content delivery pipelines.

Stay alert, and keep your security measures updated!

Source: Follow cybersecurity88 on X and LinkedIn for the latest cybersecurity news