# Optimizely snippets served malware to 178 organizations

2026-11-23. What the 16 November 2026 Optimizely incident says about A/B testing snippets, and a three-question audit for every third-party script.

An A/B testing snippet is production code that runs on every page that loads it. Growth teams often manage it like a marketing setting. On 16 November 2026 that gap became visible, and the fix starts with a list you can write this week.

## What happened

Scott Helme of Report URI fetched 1,611 distinct Optimizely snippets that day. He found 188 infected, belonging to 178 organizations. Their visitors were served malicious JavaScript through the Optimizely Web experimentation platform. The largest groups were banking and finance (32), technology and SaaS (23) and retail and fashion (20).

Optimizely confirmed a "Web Experimentation Security Incident" on its status page on 17 November. It said the injected code had been removed from affected projects.

## One field in a dashboard

The attacker wrote code into the Project JavaScript field of customer projects. That field holds custom code the customer writes. Helme is clear that the CDN "served exactly what it was given."

So the delivery chain worked as designed. A dashboard field fed a snippet, the snippet loaded on customer sites, and the code ran for visitors.

## One day, minute by minute

- 04:21 UTC: first injection seen.
- 13:43 UTC: a card skimmer was added.
- Around 20:40 to 21:10 UTC: mass clean-up.
- 21:52 UTC: the code was left in 1 of the 188 snippets.

The payload was rebuilt 26 times during the day. It swapped crypto addresses, skimmed cards and stole cookies and screenshots.

## The audit I'd run this week

I'd treat any field that accepts JavaScript from a dashboard as production code. Start with an inventory.

1. List every third-party script on your site.
2. Mark the ones whose dashboard accepts custom code.
3. For each of those, write down who can edit it.
4. Write down who would see a change.
5. Write down how fast you could switch it off.

A testing tool, a tag manager and a chat widget can all end up on that list.

## How far the findings go

Report URI sells script monitoring, so the article is also a pitch. The counts come from Helme's own sweep of 1,611 snippets, so the real total may differ. Helme's report left open how the attacker got write access. Optimizely later confirmed that a flaw in its signup process let the attacker impersonate users on targeted customer accounts.

If a row in your list has no name in it, start there.

Source: https://letdawid.work/blog/ab-testing-snippet-production-code. By Dawid Nawrocki, Growth & GTM Engineer.
