Who can change the code Convert serves on your site?
On 16 November 2026, an unauthorised party exploited a vulnerability in Optimizely’s Web Experimentation product and injected malicious JavaScript into customer projects. Optimizely has confirmed this. Researchers at Report URI found at least 178 affected organisations.
Convert runs its own code and infrastructure, so the vulnerability did not extend to Convert.
After the incident, we scanned the JavaScript and CSS stored in every Convert account, across all projects, experiences and variations, for the malicious hosts and patterns published from the incident. We found none.
The breach still raises a fair question for any team using client-side testing. A client-side testing snippet runs code on every page it’s installed on, and that code is served from the vendor’s content delivery network (CDN). Teams need to know who can change it and how each change is recorded.
In Convert Experiences, code stored in a project can be changed only through our application programming interface (API), by a signed-in user or an API credential that has the right role on that project. Each of those changes is written to a change history. This applies to client-side projects, the type of testing involved in the Optimizely incident. Convert’s server-side feature flags and rollouts work differently. Through software development kits (SDKs), we switch code on or off that is stored in the customer’s environment.
This article covers what happened in the Optimizely incident, the controls that protect your Convert client-side projects, how a Content Security Policy (CSP) adds protection on your website, and what to do if any vendor you rely on is compromised.
What do we know now about what possibly happened?
Report URI published the most detailed account. Its authors fetched 1,611 Optimizely Web Experimentation (the client-side A/B testing platform of Optimizely) snippets and found injected code in 188 of them, belonging to 178 organisations. They say the real number is likely higher.
The code had been written into the project JavaScript of customer projects. The files therefore still came from the vendor’s own CDN, a host those sites already trusted. The code replaced cryptocurrency wallet addresses and stole payment card details and cookies. Report URI saw the first injection at 04:21 UTC, and reports that every infected file it tracked was clean by 23:11 UTC the same day.
The vendor’s status page says the vulnerability is now fixed, the injected code is removed and the affected accounts are secured. As of 17 November, the incident is marked as monitoring. Optimizely told BleepingComputer that the vulnerability was in its Experimentation account signup flow. No further technical detail is public.
Why every snippet deserves the question
A client-side testing snippet runs in your visitors’ browsers. Anyone who can change a project’s code can run code on your website. That is true of every client-side testing and analytics tool, Convert’s included. It is the reason the path to that code needs the same care as your own deployments.
How code in a Convert project can change
Code stored in a Convert project changes only through our API. The app uses that API, and so do API keys and our Model Context Protocol (MCP) server. Every request must be authenticated, and it must pass the role check for the project it touches.
The 16 November flaw was in the vendor’s signup flow, so we reviewed and tested our own signup and account access paths after the incident. In Convert, a new signup always creates its own separate account. Joining an existing account takes an invitation from a signed-in user of that account. We found no way for a new signup to reach an existing account or project.
Changing that code any other way would mean breaking into our infrastructure itself. Protecting the infrastructure is the work described on our security page.
For server-side A/B testing, we use SDKs that activate or deactivate code or variables that often already exist in the customer’s codebase. For client-side A/B testing and rollouts, we use a tracking script to release changes made to the website, or to add JavaScript (JS), for example. The client-side tracking script itself is released like the rest of our code. Every code change server-side and client-side goes through rigorous security checks before release.
The controls on that path
Our API is the only way to change that code, so the next question is who can use it. Convert Experiences gives every account several controls over that. These controls protect against a stolen or misused login. A flaw in a platform itself, like the Optimizely one on 16 November, is what code security and penetration tests are for.
Inside Convert Experiences, we offer multiple security levels to customers. Besides single sign-on (SSO) and Google sign-in, we already offer every user two-factor authentication (2FA). Anyone who signs in with a password and has not set up 2FA gets a deadline. After the deadline, that user can read but cannot change anything until they turn 2FA on. Users who sign in through SSO or Google rely on the second factor of that provider.
Access is granted by role, and each grant covers one project or the whole account. Four levels of roles can change project settings, which include project-level JavaScript, or activate an experience: owner, account manager, admin and publish. The edit, review and browse roles cannot. Collaborators and their roles cannot be added or changed with an API key. That takes a person who is signed in to the Convert app, so a leaked API key cannot be used to give someone access.
Convert Experiences has an approval system. It is available on some plans, it is optional, and it is off until you turn it on (talk to your Account Manager about this feature and its setup). With approvals on, a reviewer has to accept a request before an experience is activated, paused, or changed while it is active. Nobody can approve their own request, which adds another level of authorisation and change management to your account. Approvals apply to experiences, and project-level JavaScript is protected by roles and 2FA.
Changes to a project, including its JavaScript, are written to a change history. So are changes to experiences and variations. Each entry holds the user ID, the time, the value before and after, and whether the change came from the app or the API. Changes made with an API key or through our MCP server show the API as their source, and are recorded against both the user who made the change and the owner of the key. Viewing the history depends on your plan.
When a change is saved in a Convert Experiences web project, a revert included, Convert schedules a purge of that project’s files on the CDN. Nobody has to trigger it, and it runs within minutes.
We cannot offer a Subresource Integrity (SRI) hash for the snippet. The file we serve contains your project’s current configuration, so its contents change whenever you edit or activate something. A fixed hash would stop the script from loading. None of the controls above checks the contents of the file the way SRI would. The nearest substitute is a Content Security Policy (CSP) on your own site.
What you can do in your Convert account
- Remove collaborators who have left, and lower any role that is higher than the work needs.
- Ask every user to keep 2FA on.
- Give the four roles that can change project settings only to the people who need them.
- If your plan has approvals, turn them on for experiences that carry custom code.
- Keep API keys out of code repositories and shared tools, and rotate them regularly.
Content Security Policy
A Content Security Policy (CSP) is a set of rules your site sends to the browser. It lists which sources may run scripts on your pages and where those pages may send data, and the browser blocks everything else. So even if unwanted code reaches a page, a strict policy can stop it from loading more code or sending data out, and its reports tell you that something tried. Report URI crawled 256 hosts that belong to affected organisations. On 24 of them, the policy blocked the injected code itself. On 17 more, the code ran, but connect-src stopped it from sending data out. 68 had no policy at all. Report URI also notes that policies with ‘strict-dynamic’ or ‘unsafe-eval’ let the attack through, and that a Report-Only policy was enough to flag it.
A nonce is a one-time value that your server adds to each page, so that the browser runs only the scripts that carry it. Our script reads the nonce that is already on your page and puts it on the scripts and styles it injects for experiences. The nonce is there so that Convert keeps working under a strict policy. It does not defend against bad code stored in a project. For that, the useful directives are the ones that limit where a script can send data and what else it can load.
Our CSP guide lists the hosts and directives Convert needs. If you have no policy yet, Report-Only mode shows you what would be blocked before you enforce anything.
If a vendor you use is compromised
- Remove or pause that vendor’s snippet until you know more.
- Read the vendor’s status page and its own disclosures.
- Review recent changes in your projects, project-level code first.
- Rotate passwords and API keys.
- Check your CSP violation reports and outbound requests for hosts you do not recognise.
- Tell your security team early, even before you have found anything.
- Decide whether your own customers need to be told.
For your security team
Convert is SOC-2 attested with compliance managed through Sprinto, and ISO 27001 certified by Intercert. We support HIPAA compliance and can sign a BAA (Business Associate Agreement) on request. We engage independent entities to conduct regular application-level and infrastructure-level penetration tests. Our security page explains how to report a vulnerability to us.
The effects of an incident like this one go beyond the one vendor involved. Many teams are now reviewing every third-party script on their site, and that is a fair reaction. It has also put client-side experimentation in front of many people who had never looked at how it works, maybe considering using server-side testing and/or SDKs for that. We see that attention as a good thing for the whole category, as long as vendors answer it with controls that customers can check for themselves. None of the steps above need to wait for an incident, and our team will help with any of them.
Written By
Ahmed Abbas
JavaScript, Cloud Computing, Big Data +5 more
JavaScript, Cloud Computing, Big Data, Data Quality, Performance Optimization, Automation, Machine Learning, A/B Testing Data Integrity Show less
Edited By
Carmen Apostu