Skip to main content

Morning Overview

Hidden card skimmers and iPhone attacks lurked in scripts on CNN, Zoom and IKEA websites

On the morning of Nov. 16, visitors to some of the busiest sites on the web were being handed code they never asked for. Pages run by CNN, Zoom and IKEA, among others, quietly loaded a script that tried to skim payment card numbers typed into checkout forms and, on older iPhones and iPads, tried to deliver tools for breaking into the device.

Read next on Morning Overview: A Nebraska reactor was shut down by hand when the only feedwater pump running started shaking

Security researcher Scott Helme of Report URI counted 178 organizations that served the malicious JavaScript that day. The common thread was not any one company’s own servers but Optimizely, a vendor whose website-testing software those organizations had installed, and whose platform an attacker managed to abuse.

How the Optimizely snippet became a delivery truck

Companies add Optimizely Web to their sites through a JavaScript snippet that loads from Optimizely’s own servers, according to Help Net Security’s report on Helme’s findings. The attacker planted code in the “Project JavaScript” field of customer projects. Because the code kept loading from Optimizely’s content delivery network, visitors’ browsers treated it as trusted.

Optimizely’s own incident write-up says the attacker started from a flaw in a legacy free-trial sign-up flow, then used it to impersonate real users and edit their projects. The company reports that the attacker created test accounts on Nov. 13, that the main attack began at 07:51 UTC on Nov. 16, and that it learned of the problem when a customer reported a malicious script at 13:34 UTC. Optimizely says it fixed the flaw at 16:10 UTC, ended every attacker session by 16:52 UTC and had removed the code from all affected projects by 22:24 UTC, according to its incident update.

Helme’s team checked 1,611 Optimizely snippets and found 188 carrying the malware, tied to those 178 organizations. He believes the real victim count is higher because the team could only examine the snippets it found in time.

Skimmers, wallet swaps and iPhone exploit kits

The malware was a multi-purpose kit. Helme wrote that it swapped cryptocurrency wallet addresses for the attacker’s, skimmed payment cards, stole cookies and screenshots, and on iPhones and iPads delivered the Coruna and DarkSword iOS exploit kits. The card skimmer arrived in the afternoon and targeted card numbers, expiry dates and security codes typed into a site’s own payment forms. Card details entered into fields run by a separate payment provider were out of its reach.

On iPhones and iPads running iOS 18.6 or older, affected pages reloaded every 60 seconds, a quirk visitors might have noticed. The payload was rebuilt 26 times during the day as the attacker added features and wallets.

How much of this worked is a separate question. The attacker’s wallets received about $7,150 in crypto before being emptied early Tuesday, Help Net Security reported, while Helme said there was no way to see how many cards were skimmed. The security firm Hudson Rock, which investigated separately, said it could not link the transfers to visitors of the affected sites. IBTimes noted that researchers have not established that the campaign compromised any devices, and that investigators have not established how many visitors lost data. Optimizely said in its own update that it is still assessing the iOS second stage.

Who was named, and what they said

Helme listed Zoom, the BBC, CNN, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger and Peacock among the affected organizations. Banks and financial firms were the largest group of victims, with 32 organizations, followed by technology companies and retailers.

Company responses varied. Salesforce told Reuters it was investigating unauthorized Optimizely changes and disabling scripts as a precaution. Equifax stopped using the platform and reported no evidence its internal systems were compromised, according to IBTimes. IKEA said it was assessing possible effects on its digital services and customers. HSBC told Reuters that unauthorized scripts were not active on its websites.

Spain’s national cybersecurity institute INCIBE-CERT summarized Optimizely’s position in a Nov. 27 bulletin: the activity was limited to Web Experimentation and affected fewer than 5% of its customers, no passwords or credentials were stolen, and a final forensic report from Mandiant is expected within weeks. The security firm Sophos advised customers to check their Optimizely Web Experimentation projects for code injected on Nov. 16.

Shoppers who used affected sites on that date were advised by Helme to check cryptocurrency transfers, monitor payment-card statements and update vulnerable Apple devices, IBTimes reported.

Why most defenses missed it

Helme’s team crawled the affected organizations’ sites to see whether a Content Security Policy, the browser rule set that limits what scripts may run, would have blocked the attack. Only 24 organizations, or 15%, had a policy strict enough. Another 68 had no policy at all, and in 50 cases the policy let the malware run and send stolen data back to the attacker.

Allowing Optimizely’s domain in a policy offered no protection, because the malware was delivered from that domain. On HSBC’s site, a setting recommended in Optimizely’s documentation let a backup copy of the malicious code run, Help Net Security reported.

The trail also extends beyond one day. A cash-out address used in the campaign appeared in operations in March and on Nov. 3, and the same injection code first surfaced on Turkish websites in September. Hudson Rock and the researcher Kirk of Ohey traced poisoned scripts to three more services, Kissmetrics, StorifyMe and minute-ly, with the earliest tampered responses recorded Nov. 13, though they said that does not prove a single operator was behind them.

Helme’s own summary of the lesson was blunt: “The important lesson here is that trusted JavaScript doesn’t always remain trustworthy. A website can be compromised through a third-party dependency without its own code or infrastructure ever being breached.” Mandiant’s final report on Optimizely’s systems is the next public marker still to come.

This article was produced with the assistance of AI and reviewed by Morning Overview editors prior to publication.


More from Morning Overview

Morning Overview is reader-supported. Some links in our articles are affiliate links, and we may earn a commission at no extra cost to you. As an Amazon Associate I earn from qualifying purchases. Full disclosure.