Hijacked third-party scripts: the Optimizely attack hit 178 organisations
On Monday, November 16, 2026, visitors to CNN, the BBC, Zoom or Salesforce received malicious code… without those companies’ servers being touched. The culprit: hijacked third-party scripts, those of the Optimizely A/B testing tool, which these sites load on every page. Researchers named the campaign OPTIMJACK.
Your own website, whether it runs on WordPress or Shopify, with an online store or a booking form, also loads scripts from third parties: analytics, A/B testing, chat widgets, tag managers, ad pixels. If one of those providers is compromised, the malicious code runs on your site, served from a trusted host with a valid certificate. No need to panic: here’s what happened and what to check this week.
November 16, hour by hour
The attacker wrote their code into the “Project JavaScript” field of Optimizely Web Experimentation customer projects, a custom code field that runs on every page. The rest of each snippet was left untouched, and it was still served from cdn.optimizely.com with Optimizely’s certificate. Sites serving the snippet from their own domain were affected too. Times below are in UTC, with the Eastern Standard Time equivalent (EST, UTC-5).
In the BBC’s snippet, which loaded the webshell[.]lol injector. That’s 11:21 p.m. EST on Sunday, November 15.
Code that captures payment card numbers typed into forms (8:43 a.m. EST).
An invisible frame added for visits on iOS 18.6 or earlier; pages reload every 60 seconds (12:13–12:57 p.m. EST).
The attacker’s crypto wallets had received about US$7,040 in roughly 9 hours. StepSecurity counts about $6,600 across the same addresses, and the chain doesn’t show which transfers came from victims.
The code is removed from snippets en masse (3:40 p.m. EST). Smartsheet’s script, cleaned once, was re-infected with a hidden version.
Only TalkTalk’s snippet still carries the code (4:52 p.m. EST).
The vendor says an attacker “exploited a vulnerability in Experimentation”, that the flaw is fixed, the code removed and affected accounts secured. The notice doesn’t say how the flaw worked, how many projects were changed, or what customers should do.
Report URI, security researcher Scott Helme’s company, checked 1,611 Optimizely snippets and found malicious code in 188 of them, belonging to 178 organisations, including CNN, the BBC, Zoom, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger and Fox News. The real number is likely higher. Even Optimizely’s own www and login sites carried the code. The same actor had already planted their injector in Kissmetrics, StorifyMe and Minute Media scripts since late the previous week, and on Turkish sites as early as September 17.
What the visitor saw, and what ran behind it
To the visitor, nothing looked wrong. Everything happened in files they never see:
What the visitor sees
A perfectly normal CNN or Zoom page, with the browser padlock and a legitimate address.
What runs in the background
1. The Optimizely snippet
Loaded as usual from cdn.optimizely.com, with a valid certificate.
2. The “Project JavaScript” field
The code added by the attacker. Three versions: a direct call to 1688360[.]cc/track.js, the address hidden in base64 (atob) to defeat text searches, or a full copy of the payload in case the domain is blocked.
3. track.js: wallet swap
Replaces crypto wallet addresses near words like “wallet”, “deposit” or “send”, in page text, forms, links and the clipboard.
4. Card skimmer
Captures the card number, expiry date and CVV entered in the site’s own form fields.
5. Cookies and screenshot
Sends unprotected session cookies (without the HttpOnly flag) and a screenshot of the page after an address swap.
6. iPhone and iPad stage
Loads boot.js from .icu domains, then the Coruna (iOS 13–17) and DarkSword (iOS 18) exploit kits.
Two important caveats. First, no iPhone has been reported as actually taken over: according to Cynet, delivery was conditional and this is not a successful compromise of a physical device. Second, a site that delivered the code has not necessarily had its own systems compromised. We described a similar scenario with a hijacked analytics script on checkout pages.
Hijacked third-party scripts: the hidden part of your website
When people think about website security, they think about hosting and plugins. But much of the code running in your customers’ browsers doesn’t come from you:
It’s the same principle as malicious Chrome extensions: a trusted component changes behaviour without you installing anything new.
What to check this week, depending on your situation
Your site uses Optimizely
- Inspect the “Project JavaScript” and custom code in every project and experiment: look for 1688360, atob( or code you didn’t write.
- Review users, API tokens and integrations with write access, and rotate credentials.
- Treat cards entered on your own forms on Monday as possibly exposed.
- Rotate session cookies that aren’t protected by HttpOnly.
- Ask Optimizely which project IDs were changed, and consider telling your customers.
Your site loads other third-party scripts
- List the scripts your pages load, especially payment and form pages.
- Write down who, on your side and at your providers, can change those scripts.
- Remove tools nobody uses anymore.
- Check the security of your site itself, for example after the WordPress CVE-2026-119977 vulnerability.
You or your employees visited an affected site Monday
- Update iPhones and iPads to iOS 18.7.3 or later, or 26.3 or later (the versions the kit treats as patched).
- Compare the addresses of any crypto payments made that day.
- Watch your card statements.
- No need to block the affected news sites: Cynet advises against it.
Five lasting rules for third-party scripts
What would have limited the damage
📋 Keep an inventory
Know which third-party scripts each page loads, and why. You can’t protect what you don’t know about.
🔑 Limit who can write
Keep the accounts, tokens and integrations that can change a script to a minimum, and rotate credentials regularly.
💳 Keep checkout clean
No third-party tags on payment pages. Take card details through the payment provider’s hosted fields (Stripe or Adyen, for example), in a cross-origin iframe: the skimmer couldn’t read those.
🛡️ A strict CSP
A Content Security Policy that restricts script sources (script-src) and where data can be sent (connect-src). Note: allowing cdn.optimizely.com wouldn’t have helped here, and strict-dynamic or unsafe-eval let the payload run.
🔔 Get alerted to changes
Monitor script contents and get an alert when they change. Smartsheet, re-infected after a first cleanup, shows that a single check isn’t enough.
A word on blocking: Cynet advises against broadly blocking cdn.optimizely.com. It wasn’t Optimizely’s whole service that was malicious, but the code added to certain customer projects.
How NeoTech can help
With our cybersecurity services, we inventory the third-party scripts your website loads, review who can change them and help you set up a Content Security Policy that fits your tools. Our automated 24/7 monitoring with on-call technician intervention complements these measures on the side of your computers and accounts.
Book your free cyber check
In 30 minutes, we list with you the third-party scripts your website loads and who can change them.
Call us at 438-476-2322 or email info@neotechcloudsolutions.com.
Our office: 2572 boul. Daniel-Johnson, office 237, Laval.
Sources
- Report URI — World’s largest brands infected with malware via Optimizely (Nov. 16, 2026)
- BleepingComputer — Optimizely supply chain attack infects major brands’ sites with malware (Nov. 16, 2026)
- The Hacker News — Hijacked Optimizely scripts served card skimmer (Nov. 17, 2026)
- Cynet — OPTIMJACK: malicious web injection across CNN, Zoom, Salesforce, Fox and more
Photo: Rashed Paykary, Pexels (Pexels licence).