Hijacked Optimizely Scripts Exposed Visitors of 178 Major Websites to Card and Crypto Theft
Attackers exploited a flaw in a widely used web-experimentation platform to plant malicious code on sites including CNN, the BBC, Zoom and HSBC — skimming payment cards, swapping cryptocurrency wallet addresses and targeting iPhones.

Visitors to at least 178 major websites — including CNN, the BBC, Zoom, HSBC and IKEA — were served malicious JavaScript on Monday after attackers exploited a vulnerability in Optimizely's Web Experimentation platform, planting code built to steal payment-card details and cryptocurrency, security researchers said.
The first injection was detected at 04:21 UTC on Monday inside the BBC's Optimizely snippet, according to Report URI, a firm that monitors the scripts websites run. A mass cleanup began around 20:40 UTC, and by 21:52 UTC only one affected snippet, belonging to TalkTalk, still carried the code. The firm examined 1,611 Optimizely snippets and found malicious code in 188 of them, belonging to 178 organizations, and warned the true number is likely higher.
The payload, a file called track.js, replaced legitimate cryptocurrency wallet addresses with the attackers' own across page text, forms, links, the clipboard and outgoing requests, according to an analysis by StepSecurity. A card skimmer added at 13:43 UTC captured card numbers, expiry dates and CVV codes submitted through site forms, though it could not read cards entered into cross-origin payment iframes such as Stripe's hosted fields.
A snippet that is clean now may still have served the code on Monday.
On iPhones and iPads, the injected code was also configured to deliver a second stage identified as the Coruna and DarkSword iOS exploit kits. Researchers at Cynet, who retrieved the stage using an emulated iPhone browser, described it as conditional delivery rather than a confirmed compromise of any physical device. Report URI said the attackers' wallets had received about $7,040 in cryptocurrency within roughly nine hours; StepSecurity put the total across the same addresses at about $6,600.
Optimizely said in an incident notice posted at 01:02 UTC that the attacker had “exploited a vulnerability in Experimentation” to add malicious JavaScript to customer projects, and that it had fixed the flaw, secured affected accounts and added protections against unauthorized code. Report URI noted that Smartsheet's script was cleaned once and then re-infected with a hidden version of the code, indicating the attacker retained access at that point.
The campaign, which some researchers call OPTIMJACK, did not begin on Monday. Report URI traced the injector to scripts served through Kissmetrics, StorifyMe and Minute Media since late last week, and said the same actor's tooling first appeared on Turkish websites on September 17. The firm has preserved every infected snippet with hashes and timestamps and offered to share them with affected organizations and computer emergency response teams.
The firm advised sites using Optimizely Web Experimentation to audit their project JavaScript, rotate credentials and deploy a strict Content Security Policy, and warned that allowing cdn.optimizely.com offers no protection because the code was served from that host. Visitors who used affected sites on Monday were urged to update iPhones and iPads, watch card statements and verify that any cryptocurrency payment reached the intended address. “A snippet that is clean now may still have served the code on Monday,” the firm cautioned.


