Yesterday, visitors to at least 178 websites quietly received malicious code they never agreed to — not because those businesses were hacked, but because a tool they trusted was. The tool was Optimizely Web Experimentation, a widely used A/B testing and personalization script embedded directly into customer-facing websites.
This incident matters far beyond the household names involved. It is a clear reminder that your website's security depends not only on your own servers, but on every third-party script you let run in your visitors' browsers.
What actually happened
According to The Hacker News, an attacker exploited a flaw in Optimizely Web Experimentation to plant malicious code inside scripts that customer websites load directly from Optimizely's service. Optimizely itself confirmed the breach, stating on X: "Earlier today, Optimizely identified and contained a security incident affecting some Optimizely Web Experimentation customers."
Report URI, a firm that monitors scripts running on websites, found the injected code live yesterday on sites run by at least 178 organizations, including CNN, the BBC, Zoom, HSBC, Salesforce, GitLab and IKEA, as reported by Cybersecurity News. Out of 1,611 Optimizely scripts checked, 188 snippets were infected.
What the malicious code did
The injected code had three jobs, according to the sources above:
- Crypto theft: it silently swapped crypto-wallet addresses shown on a page with the attacker's own address, redirecting payments without the visitor noticing.
- Card skimming: it was built to capture card details entered on affected pages. Report URI says it cannot determine how many card numbers were actually exposed.
- iOS device exploits: the code pushed exploit kits identified by Google researchers as Coruna (targeting iOS 13.0 to 17.2.1) and DarkSword (targeting iOS 18.4 to 18.7) to visiting iPhone users.
Optimizely says the vulnerable path has now been blocked, the injected code removed, and affected customers contacted directly, with updates posted on its status page.
Why this is different from a normal breach
None of the affected businesses needed to have a single misconfigured server or weak password. They simply loaded a script from a vendor they had every reason to trust. That is exactly what makes supply-chain script attacks so dangerous: the malicious code runs inside your customer's browser, under your domain, with your visitors' trust — while your own infrastructure stays completely untouched and your logs show nothing unusual.
What Swiss businesses should check today
- Inventory your third-party scripts. List every analytics, A/B testing, personalization, chat widget or tag-manager script loaded on your site, especially on pages that collect payment or wallet information.
- Check if you use Optimizely Web Experimentation. If so, confirm with your provider or web team that the fix has been applied and review your site logs from the affected period for anything unusual.
- Review card and crypto payment pages specifically. If any third-party script runs on a checkout or payment page, consider whether it needs to be there at all, or whether it can be isolated using Content Security Policy (CSP) and Subresource Integrity (SRI) checks.
- Warn customers if needed. If you cannot rule out exposure during the affected window, it is better to notify affected customers proactively than to let them find out from a card statement.
- Patch iOS devices used for business. Staff and customer-facing iPads or iPhones should run the latest iOS version to reduce exposure to kits like Coruna and DarkSword.
The bigger picture
Attacks on vendor-hosted scripts, plugins and remote-management tools are becoming a regular feature of the threat landscape, not a rare exception. We track these incidents continuously and will keep reporting the practical steps Swiss SMEs need to take, because the pace of these attacks is not slowing down.
If managing all these moving parts — website scripts, endpoint security, two-factor authentication, patching — feels like a full-time job on top of running your business, that is exactly where Flitz.ai, built on The Mejlerö Company's two decades of IT experience, can help. We support businesses across Obwalden, Nidwalden, Lucerne and Zurich with remote and on-site IT support, Microsoft 365 administration, endpoint protection basics and network security — and we offer a free network analysis plus a free one-hour consultation to help you find out where your exposure actually is.