Skip to content
Shipworthy

Optimizely hack reached 178 organisations: what to check

Malicious JavaScript reached visitors of Zoom, CNN, the BBC and 175 more through Optimizely Web. What it did, why CSP rarely helped, and what to check now.

By · · Updated · 21 min read


On Monday 16 November 2026, visitors to Zoom, CNN, the BBC, Fox News, Peacock and more than 170 other organisations were served malicious JavaScript. None of those companies had their own code or servers changed. The script arrived through Optimizely Web, the A/B testing tool they all load on their pages, after an attacker wrote a loader into customers' Optimizely projects. It swapped cryptocurrency addresses, skimmed card details and tried to push exploit kits to iPhones.

Optimizely says the vulnerability is fixed and the injected code is gone. If your site runs Optimizely Web, you still have checks to do today, because a clean snippet now says nothing about what it served on Monday. If it doesn't, the lesson still applies to every tag manager, analytics script and chat widget you load.

What happened

The attack was found and documented by Scott Helme at Report URI, a company that sells tools for detecting malicious scripts. That is worth knowing when you read its conclusions, and the post does say "this is exactly the kind of attack Report URI is designed to detect". The technical findings have since been confirmed independently: BleepingComputer found the script in public urlscan.io scans of Zoom, GitLab, the BBC, CNN, Salesforce, Fox News and others, and StepSecurity published its own analysis of the payload.

Report URI fetched 1,611 Optimizely snippets and found the malicious code in 188 of them, belonging to 178 organisations. Its list includes Zoom, the BBC, CNN, Fox News, Peacock, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM and Ledger. Banking and finance is the largest group with 32 organisations, then technology with 23 and retail with 20. Helme writes that "the real number is likely higher as we could only check snippets we could find in time." Optimizely has not published a count of its own.

All times below are UTC and come from Report URI unless noted.

TimeEvent
16 Nov, 04:21First injection seen, in the BBC's snippet
05:23The attacker's payload domain is registered
08:10First build of the payload, a wallet address swapper
13:43Card skimmer added
17:13 to 17:57iPhone exploit stage extended
about 20:40 to 21:10Mass cleanup of infected snippets
21:52One snippet of the 188 still infected (TalkTalk's)
23:11All infected snippets clean
17 Nov, 00:37Payload domain suspended by its registry
17 Nov, 01:02Optimizely posts its status notice

That is more than 16 hours between the first injection Report URI saw and the start of the cleanup. During that time the attacker rebuilt the payload 26 times, adding features and wallets.

Some researchers and outlets call the campaign OPTIMJACK. Neither Report URI nor Optimizely uses that name.

How the code got onto so many sites

Optimizely Web works by having you add one script to your pages, loaded from cdn.optimizely.com/js/ followed by your project ID. That file carries your experiments. It also carries a field called Project JavaScript: custom code you write in the Optimizely dashboard, which runs on every page.

The attacker wrote a loader into that field and left the rest of each snippet alone. Three details follow from that.

  • The CDN did its job. Report URI says the file "was still served from cdn.optimizely.com, with Optimizely's certificate" and that this "was not a CDN cache-poisoning attack". The CDN served what the project contained.
  • Self-hosting the snippet did not help. Sites that serve the snippet from their own domain were infected too, because the content comes from the same Optimizely project.
  • Optimizely was hit as well. The snippets for www.optimizely.com and login.optimizely.com carried the same code.

The loader came in three forms. Most snippets had a plain <script> tag pointing at the attacker's domain. Some had the same URL hidden in base64 and decoded with atob(). The third carried a full inline copy of the payload that ran through eval when the attacker's domain was blocked. StepSecurity's conclusion from that third variant: "Blocking the domain is therefore not enough."

What Optimizely has said

Optimizely's status notice says "an unauthorized party exploited a vulnerability in Experimentation and used it to add malicious JavaScript to some customer projects." It says the company fixed the vulnerability, removed the injected code and secured affected accounts. When I read it, the incident was still marked as Monitoring.

The statement Optimizely gave BleepingComputer is more specific. It places the flaw in "the Experimentation account signup flow", and says the company "blocked access to the vulnerable path and deployed a fix", ended active sessions, revoked tokens and notified all affected customers.

Update, 22 November. Optimizely added a longer statement to the same status page on 18 November. It fills in some of the gaps:

  • The mechanism, one level down. The attacker "exploited a flaw in the Optimizely Web Experimentation account signup flow" and "used it to impersonate users on targeted customer accounts and insert malicious JavaScript into those customers' projects."
  • Not stolen passwords. "This was not a credentials breach."
  • Timing. Optimizely says it detected the activity on the day it began, and blocked delivery of the code and closed the vulnerability "within three hours of detection".
  • Scale. "Less than 5% of our customers were impacted." The statement gives no number of customers or organisations.
  • Scope. The incident "was limited to Web Experimentation", and Optimizely says it has contacted every Web Experimentation customer directly to confirm whether they were affected.

So the path was impersonation: the signup flaw let the attacker act as an existing user on a customer's account, and that user's rights included editing Project JavaScript. What the statement still does not explain is how a flaw in signup made that impersonation possible. Report URI's post says "we don't know how the attacker got write access", and StepSecurity lists the same question as open. The "three hours" also runs from detection, and the statement does not say when detection happened. Report URI's timeline has the last infected snippet it saw at 21:52 UTC on 16 November.

Update, 23 November. Optimizely has also published an interim incident report for customers. The copy online now is a two-page summary dated 20 November. The full nine-page version, dated 17 November, has moved to Optimizely's customer portal, and I read it in an Internet Archive capture from 18 November. Optimizely later corrected that version's indicators of compromise and its account of a 16:06 block at Cloudflare, so I am not repeating either. It is not the root cause analysis. In its own words: "This is an interim report; a final root-cause analysis and indicators of compromise will be provided when the investigation is completed."

What it adds, with the summary and the full version marked:

  • Optimizely's timeline (summary). The first malicious code was written at 07:51 UTC on 16 November. Optimizely "detected the activity at 13:34 UTC, closed the vulnerability at 16:10 UTC, and removed the injected code from all affected projects by 22:24 UTC." The full version adds that the attacker's first account was created through signup at 00:37 UTC. So "within three hours of detection" was 2 hours 36 minutes, and detection came almost six hours after the first write.
  • A start time that does not match Report URI's. Optimizely gives the exposure window as "07:51 to 22:24 UTC". Report URI saw the BBC's snippet infected at 04:21 UTC, three and a half hours earlier. Neither has explained the difference. If you are searching logs, start from the earlier time.
  • How the impersonation worked (full version). "A flaw in the signup flow let those accounts act as existing users on customer accounts through a combination of public information and brute force." The public information was the account and project IDs, which sit in every Optimizely snippet. The brute force was guessing user email addresses: the attacker tried "variations on customer employee names", for each customer "up to thousands of times". The report says the flaw "bypassed authentication", which is how a change could be attributed to a user who signs in through SSO.
  • A CVE. The flaw is now CVE-2026-132224, published on 18 November: Optimizely Web Experimentation "mishandles the account signup flow, leading to presence of attacker-controlled code in the projectJS (aka Project JavaScript) field". It carries a CVSS 4.0 score of 7.1. Update, 25 November: the US cybersecurity agency CISA added it to its Known Exploited Vulnerabilities catalog on 24 November, with a due date of 27 November 2026. The entry says the flaw "could allow an attacker to impersonate existing customer users and modify Project JavaScript", and the required action begins "Apply mitigations in accordance with vendor instructions". It adds no technical detail beyond Optimizely's report.
  • Existing code was replaced (full version). "If the customer had custom injected JavaScript, the attacker's code replaced it." Optimizely says it has cleaned affected projects, and that customers should contact Support to restore code that was replaced. That corrects my line above about the rest of the snippet being left alone: the surrounding snippet was, but your own Project JavaScript may not have been.
  • The PCI CDN was included (full version). Asked whether cdn-pci.optimizely.com was affected, Optimizely answers yes: the injection "bypassed our protections hosting our high-security PCI script."
  • What Optimizely cannot see (full version). It "only has visibility into when the injected code got loaded, not if the code was successful or what data was exfiltrated if any." On cards: "Whether any were actually captured is not yet confirmed."
  • Its advice has changed (summary). "If you removed or commented out the snippet, it is now safe to re-enable it." The earlier guidance to turn it off "has been withdrawn". It also recommends removing the snippet from pages that take payment or crypto details where you are not running experiments.

Two of the report's claims sit badly with what this post already covers. It says "Sites with a strong Content Security Policy (CSP) were protected." Report URI's findings, described below, are that on HSBC's site the inline copy of the payload still ran through eval after the external script was blocked, and that the wallet address swap worked even where connect-src stopped data leaving the page. Read Optimizely's sentence as true for the part of the attack that loaded a script from an outside domain. The full version also says customers "do not need to reset passwords or regenerate API tokens." I am leaving the advice in step 2 below as it is. Rotating a token costs little, and Smartsheet's own notice lists "Rotating credentials tied to Optimizely" among the things it is doing.

What the script did

Report URI describes "a multi-purpose kit" with three jobs.

Swap cryptocurrency addresses. The script looked for Bitcoin, Ethereum, TRON, Solana, TON, Litecoin, Bitcoin Cash and Dogecoin addresses and replaced them with the attacker's. It did this in page text, form fields, links, the clipboard and outgoing requests. StepSecurity found it only swapped an address that passed the chain's checksum and sat near a payment word such as "wallet", "deposit" or "send". Because it hooked the copy event, an address copied from an affected page could change before it reached a wallet app.

Skim cards. From 13:43 it watched form submissions and outgoing requests for a valid card number with an expiry date and security code, and sent them to the attacker with navigator.sendBeacon. This has an important limit. Card fields inside a payment provider's hosted iframe, such as Stripe's or Adyen's, were out of its reach. Card fields that a site rendered itself were not.

Push iPhone exploit kits. On iPhones and iPads it loaded a second stage that picked an exploit chain by iOS version: the Coruna kit for iOS 13 to 17 and DarkSword for iOS 18. A separate chain for iOS 26 only fingerprinted the device when Report URI looked. Pages on iOS 18.6 or earlier reloaded every 60 seconds to retry. The kit's own comments list iOS 18.7.3 and later, and 26.3 and later, as patched.

After a successful address swap, the script also sent the attacker a screenshot of the page and the contents of document.cookie. Cookies marked HttpOnly are not in document.cookie, so they were not exposed this way.

How much damage was done

Less is known here than the headlines suggest.

  • Crypto: Report URI counted about $7,040 arriving in the attacker's wallets by 19:25 on the 16th. Help Net Security puts the later total at about $7,150, and The Next Web reports StepSecurity's estimate as nearer $6,600. Even these are upper bounds. Report URI notes the TRON wallet had been in use since March, and BleepingComputer says earlier activity makes it "difficult to determine how much cryptocurrency was stolen" in this campaign. The wallets were emptied early on Tuesday.
  • Cards: unknown. Helme writes that there is "no way to see how many credit cards were skimmed."
  • iPhones: no compromise of a real device has been shown. Hudson Rock says it "has not independently reproduced those stages or demonstrated compromise of a real victim's iPhone", and that a scan with an iPhone user agent is "a delivery observation, not a Safari exploitation test."

Why most defences did nothing

Report URI crawled 256 hosts belonging to the affected organisations and looked at their Content Security Policy. It reports four groups:

CSP outcomeHosts
No CSP at all68
CSP allowed the payload and the data theft50
Payload ran, but connect-src blocked the data theft17
Payload blocked24

Those groups add up to 159, and the 15% that Report URI gives for the last row matches 24 of 159. The post does not say how the other hosts were classified.

The reasons are more useful than the counts.

  • Allowing the vendor's domain protects nothing. "Allowing cdn.optimizely.com was never going to help", Helme writes, because the malicious code came from that domain.
  • 'strict-dynamic' passes trust along. Under it, any script that the trusted Optimizely snippet inserts is trusted too.
  • 'unsafe-eval' let the fallback run. Report URI says Optimizely's own documentation tells customers to allow it. I have not checked that documentation myself. HSBC's policy blocked the external script and the data theft, and the inline copy still ran through eval.
  • Subresource Integrity does not fit. StepSecurity points out that a snippet which changes whenever a team publishes an experiment "cannot be pinned to one hash."
  • Consent banners are not a control. A banner decides when a script runs, not what the script contains.

There is a harder point underneath, and this is my reading, not something the reports state: no script-src setting can stop code that sits inside a file you have chosen to trust. The attacker used eval and an external domain, and both can be blocked. Code written straight into the Project JavaScript field would have needed neither. That leaves connect-src as the directive that mattered most here, because it limits where stolen data can go. Even then, the 17 sites it protected still had addresses swapped in front of their visitors, since a swap changes the page and sends nothing anywhere.

If you run Optimizely Web

These steps combine Report URI's and StepSecurity's recommendations.

1. Read your Project JavaScript. Open every project and read the field, plus the custom code in each experiment. You are looking for anything your team did not write. You can also fetch what your snippet serves right now:

curl -s "https://cdn.optimizely.com/js/YOUR_PROJECT_ID.js" \
  | grep -nE "1688360|webshell|atob\("

No output does not clear you. Optimizely has already removed the injected code, so the question is what your snippet served on Monday, and a match on atob( only means there is something to read. Ask Optimizely which of your projects were modified, when, and through which account.

2. Review who can write to the account. Check users, API tokens and integrations, remove what you do not recognise and rotate credentials. Optimizely's interim report says a reset is not needed, because no passwords or tokens were stolen. I would still do it. Report URI saw Smartsheet's snippet cleaned once and then re-infected, so removing the code did not, on its own, end the attacker's access.

3. Search for the indicators. Check CSP reports, proxy logs and DNS logs from 04:00 UTC on 16 November for these hosts (written with brackets so nobody clicks them):

1688360[.]cc        payload: /track.js, /hit.php, /card.php
webshell[.]lol      earlier injector: /get.js
5vobauua3ojpklx[.]icu, eil786npto9u5bq[.]icu   iOS stage: /boot.js

StepSecurity's post has the full list, including wallet addresses and file hashes.

4. Treat what passed through your pages as exposed. If your own forms take card numbers, treat cards entered on 16 November as potentially stolen and talk to your payment provider. Rotate any session token or secret stored in a cookie that is not HttpOnly. StepSecurity also suggests forensic triage for company iPhones on iOS 18.6 or earlier that visited an affected site that day.

5. Decide what to tell your customers. If your site served this code, your visitors cannot find that out unless you tell them. Salesforce told BleepingComputer it was "confirming Optimizely scripts are disabled across preview and production instances" as a precaution. More companies have spoken since. Smartsheet published its own notice: "Some public web pages may have been affected. Those public pages are now clean." It says its application and customer data were not impacted. Zoom's security bulletins page carries a note that it "has disabled Optimizely web experimentation across our production environments" as a precaution. Equifax told Newsweek it had "ceased our use of Optimizely", and IKEA told the same reporter it was investigating.

If you don't: your tags are still your supply chain

Replace "Optimizely" with your tag manager, analytics, session replay or chat widget and the mechanism is the same. Each is a script from someone else's account system that runs with full access to your page. Helme's summary: "trusted JavaScript doesn't always remain trustworthy."

Four habits would have limited this attack, in rough order of value.

Keep third-party scripts off pages that handle money or credentials. A checkout or login page does not need an A/B testing snippet on every load. This is the only measure here that removes the risk instead of containing it.

Use hosted payment fields. The skimmer could not read card fields inside a provider's cross-origin iframe. If your card inputs are plain fields in your own DOM, every script on the page can read them.

Mark session cookies HttpOnly. The cookie theft here used document.cookie, and HttpOnly cookies never appear in it.

Ship a CSP with a restricted connect-src, and turn on reporting. Start in report-only mode so nothing breaks while you learn what your pages actually talk to:

Content-Security-Policy-Report-Only: default-src 'self'; script-src 'self' https://cdn.vendor.example; connect-src 'self' https://api.yoursite.example; report-uri /csp-reports

report-uri is the older reporting directive. Add report-to alongside it for browsers that use the newer Reporting API. The reports are half the value: a script that suddenly tries to reach a domain registered that morning shows up there, and it shows up while the attack is running.

If you visited an affected site

Advice from Report URI and StepSecurity for anyone who used one of the affected sites on 16 November:

  • Update your iPhone or iPad to iOS 18.7.3 or later, or iOS 26.3 or later.
  • If you sent cryptocurrency that day, compare the address the money went to with the one you meant to pay. For future transfers, verify the address on a hardware wallet's screen, not from copied text.
  • If you paid by card on an affected site, watch your statement. StepSecurity goes further and says to replace the card.

What is still unknown

  • The root cause. Optimizely's interim report describes the impersonation as "public information and brute force" against the signup flow. It does not say what the flaw in the code was, and it promises a final root cause analysis when its forensic investigation is complete. It warns that this may be delayed.
  • Why Optimizely's exposure window starts at 07:51 UTC when Report URI saw an infected snippet at 04:21 UTC.
  • How many organisations were affected in total, and how many visitors loaded the script. Optimizely says less than 5% of its customers, with no absolute number, and its report says it "cannot disclose our customers". Newsweek reports an estimate from Scott Helme of "roughly 34 million page visits", with a range of 6 million to 150 million, and his caution that this counts visits that loaded the code, not people who lost anything.
  • Whether any cards were stolen, and whether any iPhone was actually compromised. Optimizely says capture is "not yet confirmed" and that it cannot see what the script sent.
  • Who did it. Optimizely's report says: "The actor behind this incident has not been named. Attribution is pending." The 17 November version names Mandiant as the forensics firm. Report URI ties the same injector to scripts from Kissmetrics, StorifyMe and Minute Media between 13 and 16 November and to Turkish sites since September. Hudson Rock cautions that shared hosting and loader code does not prove a single operator or the same way in.

I updated this post on 22 November with Optimizely's 18 November statement, and on 23 November with its interim incident report. On 23 November the status page still showed the incident as Monitoring, with no post-mortem. On 25 November that had not changed: the status page was last updated on 18 November, and the interim report was the same version as before. I will update this post again when Optimizely publishes the final root cause.

The short version

  • What happened: an attacker wrote malicious JavaScript into Optimizely Web customers' projects on 16 November. Report URI found it in 188 snippets from 178 organisations, including Zoom, CNN, the BBC, Fox News and Peacock.
  • How: through the Project JavaScript field, served from Optimizely's own CDN. Optimizely says a flaw in its Web Experimentation account signup flow let the attacker impersonate users on targeted customer accounts, that it was not a credentials breach, and that it is fixed.
  • What it did: swapped crypto addresses, skimmed cards typed into sites' own forms, stole readable cookies, and delivered exploit kits to older iOS versions. About $7,000 in crypto reached the attacker's wallets. Card theft and iPhone compromise are unconfirmed.
  • What to do: if you run Optimizely Web, read your Project JavaScript, rotate access, and treat Monday's card entries and non-HttpOnly cookies as exposed. Everyone else: get third-party tags off checkout and login pages, and ship a CSP with a tight connect-src and reporting.

The last big security story on this site was also a case of trusting a default: thousands of Lovable apps serving their Supabase tables to anyone.

Frequently asked questions

Were Zoom, CNN or the BBC themselves hacked?

No. Their own code and servers were not changed. The attacker wrote malicious JavaScript into those companies' Optimizely Web projects, and Optimizely's snippet, which the sites already load on their pages, delivered it to visitors.

How many sites were affected by the Optimizely attack?

Report URI checked 1,611 Optimizely snippets and found the malicious code in 188 of them, belonging to 178 organisations. It says the real number is likely higher, because it could only check the snippets it found in time. Optimizely has not published a count of organisations. On 18 November it said less than 5% of its customers were impacted.

Does a Content Security Policy stop an attack like this?

Only partly. Allowing cdn.optimizely.com in script-src did nothing, because the malicious code came from that domain. A restricted connect-src stopped stolen cards and cookies leaving the page, but the wallet address swap still worked. Report URI found 24 hosts whose policy blocked the payload.

I visited an affected site on 16 November. What should I do?

Update an iPhone or iPad to iOS 18.7.3 or later, or iOS 26.3 or later. Check any cryptocurrency transfer you made that day against the address you meant to pay. If you typed card details into an affected site, watch your statement and consider replacing the card.

Get The Shipping Forecast

One email on Thursdays: what I tested and wrote that week, plus one tool worth your time.

You'll get a confirmation email first. Unsubscribe in one click. Privacy policy.