On 16 November 2026, a trusted script turned against the sites that loaded it. Attackers injected malicious JavaScript into Optimizely Web Experimentation projects, and Optimizely’s own CDN then served it to visitors of 178 organisations — including the BBC, CNN, Zoom, Salesforce, GitLab, IKEA, HSBC and Equifax. None of those organisations changed a line of their own code. Their sites served the malware anyway, because they trusted a third-party script.
What happened
Security researcher Scott Helme of Report URI disclosed the attack on 16 November. He found malicious code in 188 of the 1,611 Optimizely snippets he checked. The attacker had written code into each project’s Project JavaScript field, a custom-code field that runs on every page. The rest of each snippet was untouched, and the file was still served from cdn.optimizely.com with Optimizely’s own certificate — so browsers treated it as trusted.
The payload was a multi-purpose kit. It swapped cryptocurrency wallet addresses with the attacker’s, skimmed card numbers typed into payment forms, stole cookies and screenshots, and served the Coruna and DarkSword exploit kits to iPhones and iPads. Optimizely confirmed the incident on 17 November, said the flaw was in the account signup flow for Experimentation, and said it had fixed the flaw, removed the injected code, ended sessions, revoked tokens and reset access for affected accounts. The malicious code was active for roughly 16–19 hours on 16 November. There is no CVE or CVSS score for this attack, because the flaw was in Optimizely’s own signup workflow, not a versioned product.
Why patching your own site would not have stopped it
This was a supply-chain attack, not a WordPress or plugin flaw. The affected sites were not breached through their own servers. The code arrived through a JavaScript snippet those sites had already chosen to load from a vendor’s CDN. Report URI found that only about 15 percent of the affected organisations — 24 of 178 — had a Content Security Policy strict enough to block it. Allowing a vendor’s domain in a policy does not help when the vendor’s own CDN serves the malware.
That is the lesson for any site owner, including on WordPress: your site loads far more third-party code than you think — analytics, A/B testing, chat widgets, ad scripts, font and video embeds, and scripts added by plugins and themes. Each one is a vendor you trust with every visitor’s browser.
What to check on your site today
Work through this list in order. It takes less than an hour for most small sites:
- Do you load Optimizely? Search your site’s source and your plugins for
optimizely.comandcdn.optimizely.com. Optimizely says it has notified all affected customers, so if you run Optimizely Web and heard nothing, ask them directly. - List every third-party script. Open your homepage in the browser, open developer tools, and look at the Network tab, or use a free scanner that lists external scripts. Write the list down — vendor, purpose, and which pages load it.
- Remove what you do not use. A chat widget you stopped answering, an old A/B test, a heatmap from a trial that ended — each one is risk with no return. Remove it from the theme, plugin, or tag manager, not just by hiding it.
- Check your Content Security Policy. If you have no CSP, this attack is the reason to add one. A strict policy that lists exactly which script sources are allowed is the control that blocked this payload for the few sites that had it. Add it in report-only mode first, watch the reports for a week, then enforce it.
- Check what runs on checkout and payment pages. Skimmers target payment forms. On WooCommerce and other checkout pages, allow as few third-party scripts as possible, and keep analytics and testing tools off those pages unless they are essential.
- Watch for the signs, not just the vendor. Unexpected wallet addresses, card complaints from customers, or scripts loading from unfamiliar domains are worth investigating the same day. The attacker’s wallets in this case received about $7,150 before being emptied, and Helme notes there is no way to tell how many cards were skimmed.
The short version
Optimizely’s own CDN served malware to 178 organisations on 16 November because attackers edited the JavaScript inside customer projects. Patching your own site would not have stopped it. List every third-party script your site loads, remove the ones you do not use, and add a strict Content Security Policy.
Need help with a server or a WordPress site?
I work on web infrastructure — hosting, DNS, SSL, Cloudflare, backups, and recovery — and I maintain WordPress and WooCommerce sites. Contact me with your site address, and I will check what third-party scripts it loads.
What is still unknown
Optimizely has not disclosed how the signup-flow flaw granted write access across unrelated customer projects, and Report URI believes the true number of victims may be higher than 178, because it checked 1,611 snippets and found 188 infected. The fix is confirmed and the injected code was removed, but the incident is a reminder that a vendor’s trust boundary, not your own code, can become the attack surface.
FAQ
My site does not use Optimizely. Am I safe?
You are safe from this specific attack, but not from the pattern. Any third-party script your site loads — analytics, chat, ads, testing — has the same power in a visitor’s browser. Audit all of them, not just Optimizely.
Does a Content Security Policy stop this kind of attack?
A strict one helps a lot — it blocked this payload for about 15 percent of affected sites. It does not help if the policy simply allows the vendor’s whole domain, because the malware came from that same domain. Keep the allow-list as narrow as you can.
Is there a patch I need to install?
No. There is no CVE, no plugin update, and nothing to install on your site. The flaw was in Optimizely’s platform, and Optimizely fixed it. Your job is the audit above, and removing scripts you no longer need.
Sources: StepSecurity — OPTIMJACK: Optimizely-Hosted Scripts Loaded a Crypto Clipper and Card Skimmer, Black Kite — Optimizely Supply Chain Attack Hits 178 Organizations, FireCompass — Cyber Threats & Breaches Report: 16–22 Nov 2026