Home › Cybersecurity › Cyberattack Exposes Visitors to Malicious Code on 178 Major Websites

Cyberattack Exposes Visitors to Malicious Code on 178 Major Websites

November 19, 2026 · ·


Cyberattack Exposes Visitors to Malicious Code on 178 Major Websites

A security breach involving website technology provider Optimizely caused malicious JavaScript to appear on websites associated with 178 organisations, including major media, technology and financial brands.



A major cybersecurity incident has exposed visitors to potentially dangerous software on websites operated by some of the world's best-known organisations. Security researchers identified malicious JavaScript in website scripts associated with 178 organisations after attackers exploited a vulnerability in Optimizely's Web Experimentation platform.

The affected organisations included websites associated with the BBC, CNN, Zoom, Salesforce, IKEA, HSBC and Equifax, according to security researcher Scott Helme and reporting by Reuters.

The incident demonstrates how a weakness in a third-party service can put website visitors at risk—even when the websites they visit have not themselves been directly hacked.

How the Attack Happened

The incident began on November 16, when an unauthorised attacker exploited a vulnerability in Optimizely's Web Experimentation account signup process.

Optimizely provides tools that businesses use to test website features, personalise content and improve online experiences. Organisations integrate its JavaScript code into their websites to deliver these services.

According to the company's incident notice, the attacker exploited the signup-flow weakness to impersonate users on targeted customer accounts and insert malicious JavaScript into their projects.

Because the altered scripts were delivered through Optimizely's infrastructure, visitors' browsers could load the harmful code while accessing affected websites.

Research by Scott Helme's team identified 188 infected JavaScript files associated with 178 organisations. The findings were also reported by Reuters and other cybersecurity publications.

What the Malicious Code Was Designed to Do

Researchers reported that the injected scripts contained several harmful functions intended to steal information and compromise vulnerable devices.

The code attempted to:

  • Replace cryptocurrency wallet addresses with addresses controlled by the attackers.

  • Capture payment-card details entered into certain website forms.

  • Steal browser cookies and take screenshots.

  • Deliver exploit code targeting vulnerable Apple iPhone and iPad devices.

These capabilities created risks for people visiting affected websites during the exposure period. However, the presence of malicious code does not prove that every visitor was infected or that every organisation suffered a data breach.

Reuters said it could not independently establish how many users were successfully compromised or determine the full extent of any resulting data theft.

Optimizely Says the Vulnerability Has Been Fixed

Optimizely acknowledged the security incident and said an unauthorised party had exploited a vulnerability in its Web Experimentation product.

In its November 18 update, the company said it detected the activity on November 16, blocked delivery of the malicious code and closed the vulnerability within three hours of detection. It also said the injected code had been removed from affected projects.

Optimizely stated that the incident was limited to Web Experimentation, that fewer than five per cent of its customers were affected and that it was not a credentials breach. The company said it had contacted every Web Experimentation customer directly to confirm whether they were affected.

The company also said that no malicious code remained in its systems at the time of its update.

How Companies Responded

The incident prompted several organisations to investigate their exposure to the compromised scripts.

Salesforce said it disabled Optimizely scripts across its preview and production environments as a precaution. The company said it had found no evidence that the incident affected its core platform or subscription services, while its investigation continued.

Equifax also said it investigated the incident and stopped using the platform. It reported that it had not identified evidence of a compromise to its systems.

The responses highlight the difficulty organisations face when they rely on external services that can run code directly inside their websites.

Why Third-Party Software Is a Major Cybersecurity Risk

Modern websites often depend on services supplied by outside companies. These can include analytics tools, advertising systems, payment integrations, customer-support software and website personalisation platforms.

Such tools can make websites easier to manage, but they also create additional security dependencies. If attackers compromise a trusted provider or one of its software components, malicious code may reach many customer websites through a shared service.

This type of incident is commonly described as a software supply-chain attack.

The Optimizely incident is a reminder that website security cannot depend solely on protecting a company's own servers. Organisations also need to monitor external scripts, review third-party access and restrict what embedded code is permitted to do.

What Website Visitors Should Know

Optimizely said it had removed the injected code and secured the affected service. Nevertheless, users should maintain basic security precautions, particularly when handling payments or cryptocurrency.

Visitors should keep their browsers and devices updated, use reputable security software, avoid entering payment details on suspicious pages and carefully verify cryptocurrency wallet addresses before sending funds.

People who believe they entered sensitive information on an affected website during the exposure period should monitor relevant accounts and contact their bank or service provider if they notice suspicious activity.

The Bigger Lesson for the Digital Economy

The attack shows how a single weakness in a widely used technology provider can create security risks across a large number of unrelated websites.

Although Optimizely says it has contained the incident, the full impact on individual visitors remains unclear. For businesses, the case reinforces the importance of monitoring third-party software and preparing for security failures beyond their direct control.

As organisations increasingly rely on interconnected digital services, protecting the entire technology supply chain is becoming an essential part of cybersecurity.


Sources and Further Reading

  1. Reuters – Popular websites subverted in bid to steal crypto, target iPhone users

  2. Optimizely – Web Experimentation Security Incident

  3. Scott Helme / Report URI – World's Largest Brands Infected With Malware Via Optimizely

  4. The Record – Website management platform Optimizely confirms hackers put malicious code into customer sites

  5. Krebs on Security – Attackers Used Optimizely to A/B Test Malware on Top Websites

  6. Salesforce – Our response to the Optimizely supply-chain compromise

✎
Written by
Thanks for reading! Share this post if you found it helpful.

Comments