Big-name websites served malware for a day. Through a tool they trusted.
A flaw in a website testing tool let attackers run card-skimming code on sites including HSBC, the BBC and Zoom. Your website almost certainly loads code from other companies too.
On Monday 16 November, visitors to more than 170 well-known websites were served malicious code, without any of those organisations being hacked directly. The Optimizely hack went through a tool the sites used to test different versions of their pages. Attackers exploited a flaw in Optimizely’s service and added their own JavaScript to customers’ projects, which then loaded on the customers’ websites from Optimizely’s own servers.
Security researcher Scott Helme of Report URI found it. His team checked 1,611 Optimizely snippets and found 188 infected, belonging to 178 organisations. Help Net Security reports that names on the list include Zoom, the BBC, CNN, Salesforce, IKEA, HSBC and Equifax. Banks and financial firms were the largest group.
What the code did
According to Helme’s analysis, reported by Help Net Security and IT Pro, it was a kit with several jobs:
- Card skimming. It captured card numbers, expiry dates and security codes typed into a site’s own payment forms. Card forms hosted by payment providers such as Stripe and Adyen weren’t affected.
- Swapping crypto wallet addresses, so a payment copied from the page went to the attacker.
- Stealing cookies and taking screenshots of the page.
- Trying to attack older iPhones and iPads. Researchers say this part hasn’t been shown to have compromised a real device.
Optimizely said “an unauthorized party exploited a vulnerability in Experimentation and used it to add malicious JavaScript to some customer projects”, and that it has “fixed the vulnerability and removed the injected code from affected projects.” Helme says the infected files were clean by late Monday.
Why it matters if your website is much smaller
Most business websites load code from other companies: analytics, chat widgets, cookie banners, booking forms, review badges, marketing pixels. Each one runs with the same access as your own page. If one of those companies is compromised, your visitors can be attacked through your site, even though nothing on your side changed.
Helme found that only 24 of the affected organisations had a security setting strict enough to block the code. Allowing Optimizely in that setting gave no protection, because the malicious code came from Optimizely itself. As he put it, “trusted JavaScript doesn’t always remain trustworthy.”
What to do this week
- Find out what loads on your site. Ask your web developer for a list of every outside script, or follow our guide to checking your website’s third-party scripts.
- Remove anything you no longer use. Old trackers and trial tools are risk with no benefit.
- Keep card details off your own pages. If you take payments, use your payment provider’s hosted checkout or payment form.
- Turn on MFA for the accounts you use to manage your website and every tool that adds code to it.
Sources
- Help Net Security: Malware spread through Optimizely hits 178 organizations (17 November 2026)
- IT Pro: Optimizely hack, everything we know so far (17 November 2026)
More on this. See every guide and story on these topics, or follow Ashley on LinkedIn for a short post most days.