Researchers identified a widespread security incident involving 178 websites that used the Optimizely personalization platform. The affected sites included major media outlets like CNN and the BBC, as well as technology firms such as Salesforce and Zoom. Visitors to these pages were served modified JavaScript code containing multiple malicious payloads.
Optimizely malware delivery mechanism
The attack relied on the legitimate infrastructure of Optimizely to distribute tainted code. Security firm ReportURI found that JavaScript files, which were digitally signed by Optimizely, had been altered to include harmful components. These scripts were loaded directly from cdn.optimizely.com, using a valid certificate to appear trustworthy to browsers.
Scott Helme, a researcher at ReportURI, stated that the delivery method was not a standard CDN cache poisoning attack. Instead, the attackers managed to inject their own code into the JavaScript snippets that Optimizely serves to its customers. This code ran on every page where the customer used the platform. The scripts were named track.js and activated simultaneously across all affected sites.

Helme noted that the exact method the attackers used to gain write access to so many unrelated customer projects remains unclear. Possibilities include a compromised Optimizely system or stolen credentials with cross-customer access. Optimizely representatives did not respond to requests for comment regarding the breach.
Crypto theft and iOS exploits
The malicious code executed several distinct actions depending on the visitor’s device and activity. One component targeted cryptocurrency wallets. It scanned for addresses belonging to nine different cryptocurrencies and replaced them with addresses controlled by the attackers. ReportURI confirmed that funds have already been stolen from users whose devices executed this code.
Another component focused on payment card data. It monitored HTTP requests for card numbers, expiry dates, and CVVs. When all three elements were detected, the script sent the data to an external server. However, cards entered through hosted payment iframes, such as those used by Stripe and Adyen, were not affected by this skimming attempt.
The malware also stole cookies and screenshots. When the script replaced a wallet address near payment-related text, it captured the page screenshot, the original address, and the user’s cookies, sending them to the attacker’s server.

For iOS devices, the attack delivered exploit kits known as Coruna and DarkSword. These kits were served through a file named boot.js from separate domains. Coruna targeted iOS versions 13 through 17, while DarkSword targeted version 18.x. A separate chain for iOS 26 was also detected but appeared to only fingerprint devices without further exploitation.
Website administrators can check for indicators of compromise using lists provided by ReportURI and security firm Cynet. It remains unclear if the list of 178 affected sites is exhaustive or if the exploit chains were successful in installing payloads on user devices.
Source: Ars Technica

