Attackers exploited an Optimizely signup flaw to plant malicious JavaScript in customer projects, affecting websites including CNN, BBC, Fox News and Salesforce.
Security researcher Scott Helme’s team found 188 compromised files belonging to 178 organizations after examining 1,611 Optimizely scripts. He reported the findings Monday, November 16.
The code targeted visitors’ cryptocurrency transfers and payment card details. It also delivered exploit kits aimed at iPhones and iPads.
Visitors to affected sites on November 16 should check cryptocurrency transfer destinations and watch for unauthorized card charges. Those using iPhones or iPads should install the latest available iOS or iPadOS updates.
How the malicious code reached visitors
Optimizely supplies website testing and personalization tools through JavaScript that customers load into their pages. Compromising those files allowed attackers to deliver code through websites using the service.
Optimizely told BleepingComputer that the attackers exploited its Experimentation account signup flow. The flaw let them insert malicious JavaScript into some customer projects.
BleepingComputer examined altered files and found instructions to fetch another script from https://1688360[.]cc/track.js. Some files contained that address directly; others concealed it with Base64 encoding and decoded it using JavaScript’s atob() function.
Helme also found a version with embedded malicious code that could run if the remote script was blocked.
Analysis by BleepingComputer and Helme identified several functions in track.js:
- Cryptocurrency theft: The script watched for wallet addresses on webpages and substituted addresses controlled by the attackers.
- Payment card theft: It searched for card numbers, expiration dates and security codes entered on webpages. It then attempted to send those details to
https://1688360[.]cc/card.php. - iOS attacks: It loaded additional JavaScript targeting iPhones and iPads. Helme identified the payloads as the Coruna and DarkSword exploit kits, which target different iOS versions.
- Data collection: The code could gather browser cookies, webpage URLs and screenshots for transmission to the attackers.
Major websites affected
Using records from urlscan.io, BleepingComputer independently verified that affected websites loaded, or attempted to load, the malicious script.
Those sites included Zoom, KLM, GitLab, BBC, Scheels, CNN, American Girl, ManageBuilding, Smartsheet, Stamps.com and Salesforce. Other affected sites included Fox News, Mutual of Omaha, American Eagle, Air France, Change.org and Optimizely itself. HSBC Insurance, Bitly, IG and UNICEF USA were also affected.
Salesforce confirmed that it was investigating changes to Optimizely scripts used on some of its websites. As a precaution, it said it was checking that Optimizely scripts were disabled across preview and production instances.
Salesforce said it would notify affected customers without undue delay if its investigation found unauthorized access to their data.
Optimizely said it had fixed the flaw, blocked the vulnerable path and removed the injected code from affected projects. It also ended active sessions, revoked tokens and reset access for affected user accounts.
The company said it had additionally blocked all code delivery through Cloudflare and notified every affected customer. Its investigation continues, with relevant updates to be posted at status.optimizely.com.
Helme’s later checks showed a sharp reduction in compromised files following the cleanup. By 21:52 UTC on November 16, malicious code remained in only one of the 188 files previously identified.
Wallet activity does not establish total losses
Helme found that wallets listed in track.js had received approximately $7,000 in transactions by November 16. Some wallets were already active before this attack, so those receipts cannot all be attributed to the campaign.
The earliest injection observed in Helme’s investigation occurred during the early morning of November 16. How long the flaw existed, and how many visitors encountered the malware, remain unclear.
Anyone who entered card details on affected websites should monitor their accounts and contact their card issuer about suspicious transactions. Visitors should also watch for unusual account activity, especially if they were logged into sensitive services at the time.

