The Optimizely supply-chain attack exposed a significant weakness in modern website security, with 188 infected Optimizely Web snippets identified across 178 organisations. The incident showed how malicious code delivered through a trusted third-party service could reach website visitors, without attackers needing to breach each affected organisation’s own infrastructure.

While the headlines focused on the major brands involved, the bigger concern for business leaders was how a single compromised third-party service could create risks across hundreds of organisations.

Their websites were loading scripts from a provider they trusted. When those scripts were altered to include malicious code, visitors could be exposed even though the attack did not involve separately breaking into each organisation’s internal systems.

This highlights an important challenge for modern businesses: securing internal systems alone is not enough to manage risks introduced through third-party suppliers. A vulnerability in a trusted external service can create risks for customers, reputation and business operations.

What to Check If Your Website Uses Optimizely

Optimizely confirmed that the November 2026 incident affected its Web Experimentation product. The exposure window ran from 07:51 to 22:24 UTC on 16 November 2026, when the injected code was removed from all affected projects.

Not every Optimizely customer was affected. However, businesses using Web Experimentation should confirm their position with Optimizely before assuming their websites were unaffected.

For further details, read [Optimizely’s official security incident report] and [Report URI’s independent technical investigation].

1. Confirm Whether You Use Optimizely Web Experimentation

Ask your web agency or website developer to check whether your website uses the Optimizely Web Experimentation JavaScript snippet.

Check which pages loaded the snippet and whether it was added directly to the website or deployed through Google Tag Manager.

2. Check Whether Your Website Was Exposed

If you used Web Experimentation, contact your Optimizely Customer Success Manager to confirm whether your project was affected and establish your specific exposure window.

Ask your technical team to review which pages loaded the snippet during that period, particularly pages where visitors entered payment card details or completed cryptocurrency transfers.

Review available website security logs, Content Security Policy (CSP) reports and payment activity for suspicious behaviour.

Remember that a website loading an affected script does not, by itself, confirm that customer information was stolen.

3. Review Who Can Change Third-Party Scripts

Keep an inventory of third-party scripts and website integrations, including who manages them and why they are needed.

Assign an owner to each integration and document how your team can disable a script quickly if a supplier reports a security incident.

Regularly review access permissions and remove access that is no longer required.

 

Need Help Identifying Your Third-Party Risks?

Would you know which suppliers to contact if your website or IT provider reported a security breach?

Our CyberReady Assessment helps your business identify cybersecurity gaps and provides a prioritised action plan and an Incident Response Playbook to help you prepare.

 

What Actually Happened (And Why Perimeter Security Failed)

To see how an attack like this slips past defenses across nearly 180 major companies, it helps to look at how modern websites are built.

Tools like Optimizely Web power A/B testing and personalization. To make that happen, websites pull a JavaScript snippet straight from a trusted vendor CDN (like cdn.optimizely.com). Because these scripts dictate how pages behave and look for visitors, they run with full permissions right inside the browser’s Document Object Model (DOM).

The catch? Optimizely snippets include a feature called Project JavaScript (projectJS). It’s designed to let customer teams drop custom code right into their dashboard so it runs globally across their site.

On November 16, attackers managed to get write access to customer project configurations and quietly injected malicious loaders right into projectJS. Because the rest of the snippet was untouched and served directly from Optimizely’s legitimate CDN with valid, trusted TLS certificates visitor browsers and corporate security filters welcomed the code with open arms.

Over the course of the day, the payload (track.js) was rebuilt 26 times, rapidly turning into a multi-purpose toolkit that:

  • Swapped crypto wallet addresses on the fly, quietly diverting funds to the attackers (pocketing over $7,000 on-chain within hours).

  • Skimmed payment card details typed into standard website form fields.

  • Harvested session cookies and page screenshots to capture user data.

  • Pushed mobile exploit kits (Coruna and DarkSword) to unpatched iPhones and iPads.

The Optimizely Supply-Chain Attack: The Business Risk

 

Traditional IT security is heavily focused on perimeter defence: hardening cloud environments, locking down endpoints, and monitoring internal traffic.

The Optimizely supply-chain attack demonstrates that third-party security should be treated as an ongoing business risk, not simply an IT issue.

The Optimizely incident shows why that’s no longer enough:

  1. You Can Outsource the Work, But Not the Blame: When a third-party vendor gets hit, your customers don’t blame the vendor; they blame you because it happened on your domain. The reputational damage, lost trust, and regulatory headaches land squarely on your balance sheet.

  2. Traditional Allow-lists Blind You to Trusted Vendors: Firewalls and Content Security Policies (CSPs) are built to trust big infrastructure players like Optimizely and major CDNs. When a trusted vendor’s backend is compromised, standard network monitoring sees completely normal, authorized traffic effectively rolling out the red carpet for the threat.

  3. Your App Is an Open Pipeline: Modern web apps rely on a patchwork of third-party scripts, including tag managers, chat widgets, marketing pixels, and analytics tools. Every single one of those integrations is an open pipe straight into your users’ browsers, completely bypassing your internal server security.

How Business Leaders Can Reduce Third-Party Supply-Chain Risk

Third-party scripts can run directly in visitors’ browsers, even when they are loaded from trusted providers. This means a business’s own servers may remain unaffected while malicious code delivered through a third-party service creates risks for its website and customers.

Managing this risk requires active oversight of suppliers, website integrations and browser security controls.

Here is a practical checklist to discuss with your technical teams:

1. Audit Tag Managers & Vendor Access

  • Inspect custom code fields: Review active projects, workspaces and experiments in your A/B testing, tag management and marketing platforms. Look for unfamiliar JavaScript, unexpected changes or external domains that have not been approved.
  • Tighten access controls: Review user accounts, SSO permissions and API keys that can modify production website scripts. Enforce phishing-resistant multi-factor authentication where possible and apply the principle of least privilege. Restrict who can publish code changes and require approval before production changes are made.
  • Review API credentials: Use appropriately scoped credentials, monitor their use and rotate them when access changes or exposure is suspected.

 

Compromised accounts can also expose businesses to wider security risks. Learn how to recognise and prevent these threats in our guide to Phishing Attacks Explained: How UK Small Businesses Can Spot and Stop Them.

2. Harden Your Browser Controls (Content Security Policy)

  • Restrict outbound connections (connect-src): Configure your Content Security Policy to limit browser connections to approved destinations. This can help block unauthorised data transfers made through mechanisms such as fetch, XMLHttpRequest and sendBeacon. However, it should be part of a wider security policy rather than treated as a complete solution.
  • Avoid unsafe script permissions: Avoid broad permissions such as 'unsafe-eval' and 'unsafe-inline' wherever possible. These weaken CSP protections by allowing certain forms of dynamic or inline JavaScript execution.
  • Test before enforcement: Consider deploying CSP in Report-Only mode first. This allows teams to identify policy violations and legitimate script requirements before enforcing restrictions that could affect website functionality.

3. Isolate Payment Flows & Protect Sensitive Data

  • Use hosted payment fields where appropriate: The Report URI investigation found that the particular card-skimming script could not access card details entered into hosted payment fields, such as those provided through Stripe or Adyen. Keeping payment data within appropriately isolated payment components can reduce exposure to malicious scripts running elsewhere on a page.
  • Protect session cookies: Set authentication cookies with the HttpOnly and Secure attributes, and use an appropriate SameSite setting. HttpOnly prevents JavaScript from reading the cookie, while Secure ensures it is sent only over HTTPS. These settings provide important protections, but do not eliminate every risk from malicious scripts.

4. Monitor Scripts Running in Visitors’ Browsers

  • Watch for unexpected changes: Use client-side script monitoring to identify changes to trusted scripts, unfamiliar dependencies and unexpected connections to external destinations. Investigate changes in script fingerprints or hashes rather than assuming every change is malicious.

Strengthening Your Resilience

Modern websites depend on third-party services, and removing every external integration is rarely practical. The challenge is to understand which services have access to your website, what they can change and how their behaviour is monitored.

The Optimizely supply-chain attack highlights why businesses need visibility over the third-party tools and services connected to their websites.

Protecting your brand, customer information and business operations requires more than securing internal systems. It also means understanding and monitoring the code that runs in visitors’ browsers, making client-side security an important part of wider operational resilience.