A security incident involving Optimizely has exposed a difficult reality for organisations operating increasingly interconnected digital environments: a website does not need to be directly breached for its visitors to be placed at risk.
On 16 November 2026, an unauthorised third party exploited a flaw in the Optimizely Web Experimentation account signup flow. According to Optimizely’s security advisory, the attacker used the vulnerability to impersonate users on targeted customer accounts and insert malicious JavaScript into customer projects.
Optimizely said it detected the activity, blocked delivery of the malicious code and closed the vulnerability within three hours of detection. It also confirmed that fewer than 5% of its customers were impacted and that the incident was limited to Web Experimentation.
However, the reach of the attack demonstrates why this incident matters beyond the organisations directly affected.
Security researchers at Report URI identified malicious JavaScript being served through 188 Optimizely snippets belonging to 178 organisations. The affected organisations included major brands such as BBC, CNN, Zoom, Salesforce, GitLab, IKEA, HSBC and Equifax.
Optimizely Web Experimentation enables customers to load JavaScript from Optimizely's content delivery network. The attacker inserted malicious code into the Project JavaScript component of targeted customer projects, while the files continued to be delivered through legitimate Optimizely infrastructure.
That distinction is important. To the affected websites, the scripts were still coming from an expected domain that they already trusted.
According to Report URI, the injected malware had several capabilities, including replacing cryptocurrency wallet addresses, attempting to skim payment-card information and collecting accessible cookies and screenshots. Researchers also observed the Coruna and DarkSword exploit kits being delivered to some iPhone and iPad users.
Those findings should not be interpreted as evidence that every attempted action resulted in a successful compromise. They do, however, demonstrate the range of malicious activity that can potentially be delivered when attackers gain control of code that websites already trust.
For security leaders, this is where the Optimizely incident becomes more than another malware story.
Modern websites rely on an extensive ecosystem of third-party services. Analytics platforms, tag managers, customer experience tools, advertising technology and experimentation platforms can all introduce scripts into customer-facing environments.
These dependencies support legitimate business functions, but they also extend the organisation's effective attack surface.
Microsoft's Digital Defense Report 2026 describes cyber risk as becoming increasingly interconnected across identities, software, partners, cloud platforms and supply chains. When attackers compromise one of those trusted relationships, the consequences can travel well beyond the original point of entry.
The Optimizely incident provides a clear example of that principle in practice. Trust in legitimate infrastructure became part of the attack path.
This changes the question security teams need to ask. It is no longer enough to know whether a supplier has been approved. Organisations also need to understand what that supplier can access, what its technology can change and what would happen if that trust were abused.
The National Cyber Security Centre's supply chain guidance similarly recommends understanding third-party dependencies and mapping supply chains as part of managing cyber risk.
The response should not be to remove every external script. Modern digital services depend on third-party technology. Instead, organisations need stronger visibility and governance around the dependencies operating across their digital estate.
Four questions provide a practical starting point:
What third-party scripts are running across customer-facing websites? Organisations should maintain visibility of external JavaScript, experimentation services, analytics platforms, tag managers and other dependencies that can execute code in a customer's browser.
Who can change them? Administrative privileges, service accounts, tokens and authentication controls associated with platforms capable of changing production code should receive the same scrutiny as other forms of privileged access.
Would you detect a trusted script behaving differently? Approval at one point in time is not continuous assurance. Security monitoring should account for unexpected changes, connections and behaviours where possible, rather than assuming that code remains safe because it originates from an approved provider.
Does incident response extend into the supply chain? A third-party security incident can quickly require coordination between security, IT, development, marketing teams and external suppliers. Organisations should understand those responsibilities before an incident occurs, not while one is unfolding.
These considerations build on a broader principle we have previously explored in our analysis of cyber supply chain risk: outsourcing technology does not outsource the risks created by that technology.
The Optimizely attack does not mean businesses should stop trusting third-party platforms. It shows why trust needs to be supported by continuous visibility, governance and preparation.
The digital attack surface now extends well beyond infrastructure directly controlled by the organisation. It includes the platforms, suppliers, identities and software dependencies that help the business operate and serve its customers.
For security leaders, understanding those relationships is increasingly central to resilience.
Start by asking what sits inside your digital supply chain, who can change it and how quickly your organisation would recognise unexpected behaviour. If the answers are unclear, that uncertainty is itself a security gap worth addressing.