Optimizely Supply-Chain Attack: How One Script Hit 178 Brands’ Websites

Optimizely Supply-Chain Attack: How One Script Hit 178 Brands' Websites

Most websites load code from other companies: analytics, chat widgets, A/B testing and ad tags. That code runs with the same access as your own. On 16 November 2026, attackers proved how risky that can be.

What happened

  • Attackers exploited a flaw in the account signup flow of Optimizely Experimentation, a popular website-testing platform, and added malicious JavaScript to customer projects.
  • Because Optimizely served the code from its own trusted domain, it ran on customers’ websites without those sites being hacked themselves.
  • Scott Helme of Report URI found 188 infected scripts across 178 organisations, including the BBC, CNN, Zoom, GitLab, IKEA and HSBC. Banking and finance was the most affected sector.
  • The malicious code was live for roughly 17 hours before clean-up.
  • Optimizely says it fixed the flaw, removed the code, revoked tokens and secured the affected accounts.

What the malicious code did

Researchers agree it swapped cryptocurrency wallet addresses when visitors copied them. Some researchers also reported, in later versions:

  • a card skimmer that copied card numbers, expiry dates and CVVs typed into web forms
  • cookie and screenshot theft
  • redirecting some iPhones to exploit kits

One security firm didn’t find the skimmer in the sample it analysed, so not every version may have included it. Card payments made in hosted payment pages or iframes (where the card form comes from the payment provider) were reportedly out of reach.

If you shopped online on 16 November

  • Check your card statements for anything unusual, and report it to your bank.
  • Double-check crypto addresses character by character before sending.
  • Update your iPhone to the latest iOS.

How to protect your own website

Your site probably isn’t using Optimizely, but it almost certainly loads third-party scripts. The same risk applies.

  1. List every third-party script on your site, including what your tag manager loads. Remove what you don’t use.
  2. Keep scripts off checkout and login pages. Testing and marketing tags rarely need to run there.
  3. Use a hosted payment page or payment iframe (Stripe, PayPal, Razorpay and others), so card details never touch your page.
  4. Add a Content Security Policy (CSP) that limits which domains scripts can load from and send data to.
  5. Secure your vendor accounts with MFA and remove old users. A hijacked vendor account can change what runs on your site.
  6. Monitor your pages for unexpected script changes. Several services alert you when a script changes.

More on managing supplier risk: third-party vendor security risks.

Frequently asked questions

What is a supply-chain attack? An attack on a supplier, like a software or script provider, that reaches that supplier’s customers through code or access they trust.

Was my card stolen? Only if you entered card details directly into an affected site’s form during the attack window on 16 November, and only if that version contained the skimmer. Check your statements and talk to your bank if unsure.

Is Optimizely safe now? Optimizely says the flaw is fixed and the code removed. If you use it, rotate your Optimizely users and API tokens and review your project JavaScript.

Sources: Report URI, Socket, SafeState, Daily Security Review (16–18 Nov 2026).