Cybersecurity 7 min read

Attacker Code Ran on Optimizely Customer Sites and Targeted Older iPhones

Attacker code ran on some Optimizely customer sites for at least 14½ hours. CISA lists the flaw as exploited.

Priya Nair
Data, AI Governance & Policy Analyst · Singapore
Published 30 Nov 2026, 3:58 PM (SGT)
Share:
Website HTML code on a monitor
Photo by lawrence_monk on Pixabay
Advertisement

30 NOV 2026 — For at least 14½ hours on 16 November, an attacker's code ran on the websites of some Optimizely customers, delivered through the company's own Web Experimentation service. According to Optimizely, the attacker exploited a flaw in a sign-up flow to impersonate real users and edit the JavaScript those customers serve to visitors. The US Cybersecurity and Infrastructure Security Agency (CISA) has since listed the flaw, CVE-2026-132224, as exploited. Optimizely first said the code was after payment and crypto details; its latest account adds a second stage aimed at iPhones and iPads.

Web Experimentation is a hosted service. Customers add one line of JavaScript, the snippet, to their pages, and it loads their experiments and any custom code they have set up. Optimizely's 25 November update says one piece of that code, Project JavaScript, "runs on every page where the snippet is installed". That is the code the attacker changed.

How it happened

According to the update, the attacker created their own trial accounts through the legacy sign-up flow, then "used brute force informed by publicly available information to find the addresses of real users at our customers, which let them impersonate those users". Impersonation, it says, "was a legacy feature and has been removed", and the sign-up flow has been shut down.

Acting as those users, the attacker edited custom JavaScript in a number of customer projects so that it loaded a script from a server the attacker controlled. In some accounts, the update says, the attacker also reopened archived projects, "so a snippet still sitting on a page could serve code again". No administrator account of Optimizely's own was compromised, the company says.

The timeline, by Optimizely's account

  1. Test accounts

    The attacker creates test accounts, which "appeared like normal signups to us".

  2. Early test code

    Test code lands in a small number of projects, one of them in production at 03:54.

  3. Main attack

    The attack spreads across many customer projects.

  4. Reported by a customer

    "This is how we found out." The card-skimming version first appears nine minutes later, at 13:43.

  5. Blocking starts

    Optimizely starts blocking the inbound attack.

  6. Flaw fixed

    Every attacker session is ended by 16:52.

  7. Code removed

    Malicious code is removed from every affected project.

  8. First notice

    The first notice goes to affected customers.

We worked out the gaps from those times. A customer reported the script 5 hours 43 minutes after the main attack began, and the flaw was fixed 2 hours 36 minutes after that. The main attack ran for 14 hours 33 minutes before the last project was cleaned; counted from the test code in production at 03:54, it was 18 hours 30 minutes. The first customer notice came 10 hours 27 minutes after the customer report. Optimizely's own figure is that the first report came "almost six hours after the main attack began". Optimizely says it sent the first notice only after it had confirmed who was affected and removed the code, and that until then "we were talking to customers 1:1 who had reached out". It concedes it "could have done better on our public channels".

Where the three accounts differ

Optimizely has published three versions of events: a status page entry first posted at 01:02 UTC on 17 November, a customer incident report dated 17 November and shortened on 20 November, and the 25 November update. They differ on two points that matter to a site owner checking for exposure.

On what the code did, the incident report says the investigation "determined that the injected script was intended to obtain payment information and crypto activity only". The later update describes three behaviours. Besides swapping wallet addresses and skimming card details, the code, on iPhones and iPads, "loaded a second stage that independent researchers identify as exploit kits", aimed at iOS and iPadOS 18.7 and earlier. Optimizely says it and its investigators "are still assessing whether those kits actually compromised any devices", and that it has had no reports of an infected device.

They also differ on the time window. The incident report tells customers to check the snippet's activity between 07:51 and 22:24 UTC on 16 November. The update's timeline puts test code in one production project at 03:54, almost four hours earlier, and says Optimizely contacted the customers with early test code individually. It also says each project's exposure ran "from its first malicious change", and that customer success managers have the exact times.

Advertisement

What a Content Security Policy did

The incident report says that "sites with a strong Content Security Policy (CSP) were protected". The update is more qualified. It says a restrictive policy on which scripts can load blocked the malicious script, and a tight policy on where a page can send data "stopped card, cookie and screenshot theft". But it "didn't stop wallet swapping, which happened inside the page". And a policy that allowed Optimizely's script host was not enough: "Allowing cdn.optimizely.com alone didn't help, because the code came from our own host," the update says. Optimizely says its guidance had not said clearly enough what the right policy is, and that it has published updated guidance. Customers in card-payment (PCI) scope can have the snippet served from a separate, higher-security host, but the update notes that "in this incident the attacker's change was deployed via the PCI host too", and that this mode "doesn't replace change controls".

Optimizely's own sites run the same snippet. On www.optimizely.com, the update says, the company's policy blocked the code. On its login site, the policy "was in report-only mode, so the code was served", and Optimizely says it is investigating the impact on people who signed in during the incident.

The catalogue entry

CISA added CVE-2026-132224 to its Known Exploited Vulnerabilities Catalog on 24 November, eight days after the attack, with a 27 November due date for US federal civilian agencies under BOD 26-04. It describes "an external control of critical state data vulnerability in its account signup flow". CISA's required action, worded the same as in its other recent entries, tells agencies to follow the directive's guidance for cloud services "or discontinue use of the product if mitigations are unavailable".

According to Optimizely, current snippets are clean, customers do not need a new snippet or new passwords or API tokens, and a snippet removed during the incident can be re-enabled.

What is not known

"We don't know how many cards, wallets or cookies were accessed," the update says. Optimizely can see when the code was served from each project but not what it captured in a visitor's browser. Its investigation, it says, "has not identified any confirmed card or crypto losses by any customer". It has not named the affected customers or said who carried out the attack.

Nor is it settled whether the iPhone and iPad stage compromised any device. Optimizely has engaged Mandiant, part of Google Cloud, whose final report it expects "in a few weeks". We have not reproduced the indicators of compromise it published for security teams.

Advertisement
Priya Nair
Data, AI Governance & Policy Analyst · Singapore

Priya Nair covers AI governance, data protection, privacy, and digital trust topics for RECATOOLS.

View author profile → · Editorial policy

About this byline Priya Nair is a RECATOOLS editorial persona for AI governance, privacy, and digital trust coverage. Articles are produced and reviewed under RECATOOLS editorial supervision.

Corrections policy

Go further

More from Cybersecurity

Advertisement
Advertisement