A Hijacked Ad-Tech Script Turned CNN, the BBC and Zoom Into Malware Conduits
A flaw in Optimizely's experimentation platform let attackers plant a card skimmer, a crypto-swapping script and iOS exploit kits across at least 178 organizations' websites.
A security flaw in Optimizely's web-experimentation platform let an attacker plant malicious code on at least 178 organizations' websites over roughly 17 hours on Monday, turning pages run by CNN, the BBC, Zoom and Salesforce into unwitting distributors of a payment-card skimmer, a cryptocurrency-address swapper and exploit kits aimed at iPhones and iPads.
Optimizely, whose JavaScript snippets let companies test and personalize their websites, said in an incident notice posted just after midnight Eastern time that an attacker "exploited a vulnerability in Experimentation" to insert malicious code into the "Project JavaScript" field of customer accounts. Because the tampered snippets were still served from Optimizely's own content-delivery domain under the company's own certificate, visitors' browsers had no obvious reason to treat the code as suspicious.
The breach was first reported by The Hacker News, which credited the monitoring firm Report URI with discovering it. Researchers there said they scanned 1,611 Optimizely snippets in use across the web and found malicious code in 188 of them, spread across 178 distinct organizations — a figure both The Hacker News and BleepingComputer confirmed independently through their own scans. Named organizations that loaded or attempted to load the malicious script include CNN, Fox News, the BBC, Zoom, Salesforce, GitLab, Smartsheet, HSBC and Air France-KLM, among dozens of others spanning retail, insurance and travel. Optimizely's own marketing site and customer login page carried the code as well.
A Skimmer, a Crypto Swap and Two iPhone Exploit Kits
According to both outlets' technical breakdowns, the injected loader fetched a second-stage script that carried out several distinct attacks depending on the time of day and the visitor's device. Earliest versions quietly rewrote cryptocurrency wallet addresses that appeared on-screen, in forms or on the clipboard, substituting the attacker's own addresses for ones that passed a chain's checksum and sat near words like "wallet" or "deposit." Just before 9 a.m. Eastern, the attacker added a card skimmer that captured numbers, expiration dates and security codes typed into a site's own checkout fields — though it could not reach cards entered through cross-origin payment widgets such as Stripe's or Adyen's hosted forms. Later that afternoon, visitors on iPhones and iPads running iOS 18.6 or earlier were served a hidden exploit chain researchers have nicknamed Coruna, aimed at devices running iOS 13 through 17.2.1, alongside a second kit called DarkSword targeting iOS 18.4 through 18.7; both reload every 60 seconds in a way an attentive visitor might notice.
Report URI estimated that wallets tied to the campaign had received roughly $7,000 in the space of about nine hours; the security firm StepSecurity put the figure closer to $6,600 using the same addresses. Both cautioned that at least two of the wallets had received funds before the injections began, meaning the true scale of what was actually stolen from victims is unclear. Optimizely began a mass cleanup of infected snippets at 8:40 p.m. Eastern Monday, and by roughly an hour later only one customer's script — belonging to the British telecom provider TalkTalk — still carried the malicious code, according to Report URI's tracking.
A Widening Pattern of Attacks on Shared Scripts
The incident is the latest in a run of attacks this year that have targeted the third-party scripts — analytics tags, chat widgets, experimentation tools — that modern websites routinely load from outside vendors, rather than attacking the sites themselves. Because a single compromised script can run on every page that embeds it, such "supply chain" attacks let criminals reach far more victims than breaching one company at a time. The same injector code used in the Optimizely campaign had reportedly surfaced on other platforms' scripts, including Kissmetrics and Minute Media, in the week before Monday's attack, according to Report URI's findings as relayed by The Hacker News.
Optimizely said it has "taken steps to secure affected user accounts" and "added protections to stop unauthorized code from being delivered," and that it blocked the vulnerable sign-up path, revoked exposed tokens and notified affected customers. It did not disclose how the attacker first gained the ability to write code into unrelated customers' projects. Before that notice went up, Report URI had put the question to the company directly: "That's for Optimizely to explain," the firm wrote. Salesforce, among the larger names caught up in the breach, said in a statement that "as a precaution, Salesforce is confirming Optimizely scripts are disabled across preview and production instances" while it investigates further.
Security researchers are urging anyone who visited an affected site on Monday to treat the day's activity with caution: check that any cryptocurrency payment went to the intended address, watch card statements for unauthorized charges if payment details were entered on one of the sites, and update iPhones and iPads to the latest iOS or iPadOS security release, since the exploit kits targeted only older, unpatched versions. For Optimizely's own customers, researchers are recommending a broader housekeeping exercise — auditing which users, tokens and integrations can write to their accounts, rotating credentials, and deploying stricter content-security policies rather than assuming a vendor's domain is automatically safe to trust.
Reports on technology and its regulation for UBStandard, with a focus on Brussels, AI policy and Europe's digital economy.
[email protected]