On Nov. 16, an attacker used a flaw in Optimizely Web Experimentation to put malicious code on some of our customers' websites. We fully fixed the vulnerability within hours, notified affected customers directly and have sent updates and had many follow-up conversations since. However, we know this incident has attracted broader attention, so in the spirit of transparency, this blog post is a public account: what happened, what we've fixed, and what we're changing to avoid an incident of this nature from happening again.
We're sorry. Our customers trust us with code that runs on their most important pages, and for part of one day that trust was used against them and their visitors. Many of our customers spent the days since investigating, cleaning up and answering their own customers' questions. We thank our customers and the broader security community for their support, and for the hard questions they’ve asked us. A lot of them shaped this post.
We've engaged Mandiant, part of Google Cloud, to support our security response. Their final report is expected in a few weeks. Given the investigation is ongoing, we’ve avoided speculating on certain forensics.
This post will cover:
What happened
Web Experimentation works through one line of JavaScript, the snippet, that customers add to their websites. The snippet loads their experiments and any custom code they've set up. One piece of that code, called Project JavaScript, runs on every page where the snippet is installed.
The attacker found a flaw in a legacy free-trial sign-up flow which has now been shut down. They used it to create their own trial accounts, 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 was a legacy feature and has been removed.
To date, our investigation indicates that no passwords or credentials were stolen. No Optimizely administrator account was compromised, and no customer passwords were exposed.
Acting as those users, the attacker edited custom JavaScript in a number of customer projects so it loaded a malicious script from a server they controlled. That script then ran in the browsers of people visiting those sites. In some accounts, the attacker also reopened archived projects, so a snippet still sitting on a page could serve code again.
The script was rebuilt many times during the day. It ultimately did three things:
- Swapped crypto wallet addresses. From the start of the main attack, it replaced cryptocurrency wallet addresses that visitors copied or entered with the attacker's own. When it made a swap, it also sent the page address, a screenshot, and any cookies the page's scripts could read to the attacker's server.
- Skimmed payment cards. Halfway through the attack, a new version also captured card details typed into forms on the page itself: card brand, number, expiry date and security code (CVV). Cards entered in iFrames provided by payment providers, such as Stripe or Adyen, were not vulnerable.
- Targeted older Apple devices. On iPhones and iPads, it loaded a second stage that independent researchers identify as exploit kits (publicly reported as Coruna and DarkSword) aimed at iOS and iPadOS 18.7 and earlier. We and our investigators are still assessing whether those kits actually compromised any devices. So far, we've had no reports of an infected device.
Only Web Experimentation was affected. Feature Experimentation, our SDKs and legacy Full Stack were not. The attacker tried, but was prevented from, changing Feature Experimentation settings for some customers. They had no effect on any customer website. We've seen no sign that any other product was affected by this incident.
Timeline of what happened
Each affected project was exposed from its first malicious change until we cleaned it, by 22:24 UTC on Nov. 16 at the latest. Customer success managers have the exact times for customer projects.
| When (UTC) |
What happened |
| Nov. 13, 18:40 |
The attacker creates test accounts. These appeared like normal signups to us. |
| Nov. 16, 00:37 |
The attacker starts probing the sign-up flaw. |
| Nov. 16, 01:20 |
Early test code lands in a small number of projects, one in production at 03:54. We've contacted those customers individually. |
| Nov. 16, 07:51 |
The main attack begins and spreads across many customer projects. |
| 13:34 |
A customer reports a malicious script on its website. This is how we found out. |
| 13:43 |
The card-skimming version first appears. |
| 16:06 |
We start blocking the inbound attack. |
| 16:10 |
We fix the flaw. |
| 16:52 |
We end every attacker session. No malicious code has been written to a customer project since. |
| 22:24 |
Malicious code is removed from every affected project. |
| Nov. 17, 00:01 |
We send the first notice to affected customers. |
Why we are confident the flaw is closed and it's safe to run Web Experimentation
Here are the steps we have taken to ensure it’s safe to run Web Experimentation:
The bigger, go-forward changes we are implementing are in the 'What we learned and what we're changing' section below.
Our own websites run the same snippet. On www.optimizely.com, our Content Security Policy blocked the code. This was a big reminder to all of us, our customers, and all readers of this post to use a strict CSP. On login.optimizely.com, that policy was in report-only mode, so the code was served. The page now enforces its policy, and we're investigating the impact on people who signed in during the incident. We've also added Content Security Policies to our login, home and Admin Center pages and shared components.
How we communicated, and where we fell short
Our first priority on Nov. 16 was stopping the attack and getting the code off customer sites. We sent the first notice to affected customers after we had confirmed who was affected AND resolved the issue and reverted the malicious code, although we understand that the time between the main attack beginning and when we sent the first customer report may have been challenging for teams making decisions about their own sites in the meantime. During the time prior to sending that first notice, we were talking to customers 1:1 who had reached out while we were assessing and fixing the vulnerability. We tried our best to fix and communicate in parallel, but could have done better on our public channels. We are grateful to Scott Helme at Report URI, who did a stellar job at documenting what was happening in near real time.
Since then:
Thank you to the customers who flagged this first, and to independent researchers, including Report URI, whose public analysis helped everyone move faster.
How do I know if I was affected?
First and foremost, we have communicated directly with all affected customers, but we’ve included more information on affects below in case other questions remain.
Was my site affected?
If we believe our customer’s site was affected, they have been contacted. Our forensics continue, and we'll notify customers if their status changes.
Our list of affected customers comes from our own logs of every project change. If a customer has any doubts, their customer success manager can walk them through it.
We retained the change history in customer projects. They can confirm if they were affected by viewing the project history. No changes in the attack windows means they were not affected.
If a customer no longer uses Web Experimentation but a page still loads a snippet from cdn.optimizely.com or cdn-pci.optimizely.com, that page could have served the code. Send us the project ID from the snippet, and we'll check.
Was my visitors' data taken?
We can see when malicious code was served from each project. We can't see what it captured inside a visitor's browser, and neither could the independent researchers. So the honest answer is that we don't know how many cards, wallets or cookies were accessed. However, our investigation to date has not identified any confirmed card or crypto losses by any customer. Here's what we can say about visitor data and impact:
Was data held by Optimizely taken?
To date, our investigation has not identified evidence that data held by Optimizely was exfiltrated.
Details for security teams
We’ve shared this guidance with our customers directly, but it’s worth including for public awareness. If any of these are found in Web Experimentation codes or logs, treat it as a compromise and contact Support. This is the list we've confirmed from our own forensics, and it's preliminary. Report URI, the independent researchers who documented the attack, publish a longer list, including file hashes and the attacker's wallet addresses, in the Indicators of compromise section of their write-up.
Domains
1688360[.]cc, the main attacker server. It hosted the injected script (track.js), and Report URI's research found it also received the captured data.
webshell[.]lol, used in the early test phase.
5vobauua3ojpklx[.]icu, which served the second-stage script to iPhones and iPads.
Code and account patterns
Search Project JavaScript, experiment code, shared code and extensions for:
1688360, or its base64 form aHR0cHM6Ly8xNjg4MzYwLmNjL3RyYWNrLmpz
atob( used to load an outside script, and the marker var TCODE=dec(T)
Users or invitations at fldubai[.]com, and "+tag" look-alikes of colleagues' addresses, such as name+27@yourcompany.com
Hosts 136.113.106[.]136,34.96.213[.]201,34.87.36[.]58,34.8.47[.]29,103.107.197[.]171,1688360[.]cc,5vobauua3ojpklx[.]icu,eil786npto9u5bq[.]icu
Webhooks your team didn't create
Customers may have their own obligations to notify customers or regulators, so we’ve recommended they assess them with advisers.
Security best practices
Whether or not you were affected, these steps cut the risk from any script on your site, ours included. They come from our guide to securing your Web Experimentation implementation, which walks through each one step by step, and they been shared directly with our customers.
Start this week
After that, put a quarterly review on the calendar: users and roles, API tokens, code, integrations and the sources your policy allows, plus a practice run of your kill switch.
What we learned and what we're changing
Hardening product security across Optimizely
The changes above fix what went wrong in this incident. We know the world is changing fast, with more sophisticated attackers using the latest AI models. We need to combat that with better technology, speed and thoughtfulness. We're raising the bar across every Optimizely product, built around four development priorities set by our CTO, Aniel Sud. We'll share the full plan in a separate post in the next few weeks.
Closing thoughts
There's never a good time for a security incident, but we will take this opportunity to get better as a company. We are grateful to our customers who have been understanding and worked with us for many years. We recognize we need to earn their trust. We’re also grateful to the security community. All of us need to collaborate to create a better and safer internet, and we will continue to work closely with the community to harden our products and ensure our peers and competitors do the same.
We'll keep sending updates to our customers until this is closed. If you are an Optimizely customer and have questions, talk to your customer success manager or email support@optimizely.com. If you are a member of the security community, please contact security@optimizely.com.
Shafqat Islam, President, Optimizely
Christian Stanton, CISO
Where Optimizely customers can get help
Customer success managers have the exact exposure times for your projects, the indicators of compromise, and our guide to securing your implementation.
support@optimizely.com for any other questions.
status.optimizely.com is where we post service updates. Subscribe, and add it to your security runbook.