A cybersecurity incident involving Optimizely has exposed visitors to malicious JavaScript on websites operated by major global organizations, including CNN, Fox News, BBC, Zoom, Salesforce and GitLab.
The attack allowed malicious code to enter customer website projects through Optimizely’s experimentation platform. Security researchers identified 188 infected JavaScript files associated with 178 organizations, raising concerns about the risks of relying on third-party website services.
The injected scripts were designed to steal cryptocurrency, capture payment card information, collect browser data and deliver exploit code targeting Apple devices. The full extent of the impact on website visitors remains unclear.
How the Optimizely Supply Chain Attack Happened
Optimizely provides digital experience and website experimentation tools that businesses use to test page designs, personalize content and improve visitor engagement.
Its technology works partly through JavaScript snippets that customers add to their websites. These scripts allow Optimizely features to run directly in visitors’ browsers.
According to the company’s statement to BleepingComputer, attackers exploited a vulnerability in the Experimentation account signup process. They used the weakness to inject malicious JavaScript into some customer projects.
Because affected websites already loaded scripts from Optimizely, the malicious code could reach visitors through a service those websites had integrated into their normal operations.
Optimizely confirmed that it blocked access to the vulnerable signup path and deployed a security fix. The company also removed injected code, ended active sessions, revoked tokens and reset access for affected user accounts.
The company said it had notified affected customers and was continuing to investigate the incident.
CNN, BBC, Fox News and Salesforce Among Affected Websites
Security researcher Scott Helme first identified the campaign after examining JavaScript files used by the platform.
His investigation found 188 infected scripts among 1,611 Optimizely files examined. Those scripts were linked to 178 organizations, including several well-known companies and media brands.
BleepingComputer independently verified that malicious scripts loaded or attempted to load on websites including CNN, Fox News, BBC, Zoom, Salesforce, GitLab, KLM, Air France, Smartsheet and Stamps.com.
Other organizations named in the investigation included HSBC Insurance, American Eagle, Change.org, Bitly, Mutual of Omaha and UNICEF USA.
The presence of malicious code on a website does not automatically mean that the organization’s internal systems were breached. In this incident, the reported delivery route involved third-party scripts used by the affected websites.
Salesforce told BleepingComputer that it was investigating unauthorized changes to Optimizely scripts used on some of its websites. As a precaution, the company disabled those scripts across preview and production environments.
Reuters also reported that Equifax investigated the issue and stopped using Optimizely. The company said it had found no evidence that its own systems were compromised.
What the Malicious JavaScript Was Designed to Steal
Researchers identified several capabilities in the injected code. The campaign was not limited to displaying unwanted advertisements or redirecting visitors to suspicious pages.
Instead, the malicious script contained functions designed to target financial information, cryptocurrency transactions and browser activity.
Cryptocurrency address replacement
The malware monitored webpages for cryptocurrency wallet addresses and replaced legitimate addresses with wallet addresses controlled by the attackers.
This technique could redirect a cryptocurrency transfer to the wrong destination, even when a user believed they had copied the correct address from a website.
Credit card information theft
The malicious code also included a payment-card skimming function. It searched webpages for credit card numbers, expiration dates and security codes entered into online forms.
The script attempted to transmit captured payment information to an external server controlled by the attackers.
Browser data collection
The investigation also identified code capable of collecting browser cookies, webpage URLs and screenshots.
Such information can potentially expose sensitive browsing activity and provide attackers with data that may help them target users or accounts. The available reporting does not establish how much of this information was successfully collected.
iPhone and iPad Users Were Also Targeted
One of the more serious findings involved additional JavaScript designed to target Apple mobile devices.
Scott Helme identified two exploit kits, Coruna and DarkSword, within the attack chain. These tools were associated with attempts to exploit vulnerabilities in different versions of iOS.
The malicious script could deliver additional code based on the visitor’s device and browser environment. This meant the activity could differ depending on whether someone visited an affected website using a desktop computer, iPhone or iPad.
The discovery does not mean every Apple device that opened an affected website was successfully compromised. Researchers identified exploit-delivery functionality, but the overall number of successful device infections has not been established.
Users should install the latest available iOS and iPadOS security updates and pay attention to unusual device or account activity.
Researchers Tracked Cryptocurrency Transactions
The investigation also identified cryptocurrency wallets embedded in the malicious script.
BleepingComputer reported that the wallets had received approximately $7,000 in cryptocurrency transactions as of November 16. The figure included activity across several networks, including Bitcoin, Litecoin, TRON and Ethereum.
However, the total should not be treated as a confirmed figure for money stolen during this specific campaign. Some of the wallets had been active before the incident, making it difficult to establish how much of the recorded activity was directly linked to the attack.
The transactions nevertheless provided evidence that the cryptocurrency-related functionality was associated with active wallet activity.
Optimizely Removes Malicious Code as Investigation Continues
Optimizely said it had taken steps to close the vulnerable signup route, remove injected JavaScript and secure affected accounts.
The company also said it had blocked code delivery through Cloudflare and was continuing to investigate. It directed customers to its status page for further updates.
Scott Helme reported that cleanup had significantly reduced the number of infected scripts. By 21:52 UTC on November 16, only one of the 188 previously identified infected files still contained malicious code, according to his investigation.
That progress does not establish how many visitors encountered the malicious scripts before they were removed. The exact exposure period and the number of users whose information may have been affected remain uncertain.
What Website Owners and Visitors Should Do
Organizations that use Optimizely should review their integrations and confirm that the affected scripts have been removed or disabled. Security teams should also examine website code, third-party dependencies and access logs for unexpected changes.
Businesses should review account permissions, revoke potentially exposed credentials and investigate suspicious connections to unfamiliar external domains. They should also check whether payment forms or other sensitive pages loaded compromised scripts during the incident.
Website operators can reduce similar risks by monitoring changes to third-party JavaScript, limiting unnecessary scripts and enforcing a carefully configured Content Security Policy.
Visitors who used affected websites during the incident should review recent cryptocurrency transactions and check payment card statements for unfamiliar activity. Anyone who entered card details and notices suspicious transactions should contact their card issuer.
Users should also watch for unusual account activity, particularly if they were signed in to sensitive services while visiting an affected website.
The incident highlights how a security weakness in one widely used technology provider can create risks for many unrelated organizations. Even when a company’s own website infrastructure remains intact, a compromised third-party component can become a route for malicious code to reach its customers.





