On 16 November 2026, visitors to more than 170 well-known websites, including CNN, BBC, Zoom, Salesforce and GitLab, unknowingly loaded malicious code that tried to steal card numbers and hijack cryptocurrency payments. The code was not planted on those websites directly. It came through Optimizely, the A/B testing and experimentation platform the sites use to run marketing experiments. This Optimizely cyberattack is a wake-up call for every digital marketer, because the scripts we add for testing, tracking and personalisation run on every page our customers see. Here is what happened, and the practical steps you can take to stop the same thing happening on your site.
- On 16 November 2026, malicious code reached 170+ major websites through Optimizely.
- It was Optimizely's second security incident of 2026.
- Inventory every third-party script, keep tags off checkout pages and turn on multi-factor authentication.
What happened in the Optimizely cyberattack?
Optimizely Web works by loading a small JavaScript “snippet” from Optimizely’s servers onto a customer’s website. Inside each project there is a field called Project JavaScript, which runs custom code on every page where the snippet loads. Marketers and developers normally use it to set up experiments and custom tracking.
According to Optimizely’s status page, an unauthorised party exploited a vulnerability in its Experimentation product, which Optimizely says was in the account signup flow. The attacker used it to write their own code into the Project JavaScript of customer projects. Because the code was delivered from Optimizely’s own trusted domain, with a valid security certificate, browsers and most security tools treated it as normal.
The key facts
- When: 16 November 2026. Most affected sites were exposed for roughly 16 hours before the code was cleaned up.
- Scale: code was injected into Optimizely Web projects belonging to around 178 organisations. Security researcher Scott Helme found it in 188 of the 1,611 snippets he checked.
- Who was hit: reported examples include CNN, BBC, Fox News, Zoom, Salesforce, GitLab, HSBC, KLM and IKEA, across banking, retail, travel, media and SaaS.
- Even self-hosted snippets were affected: companies that served the Optimizely snippet from their own domain still received the injected code.
What the malicious code did
- Swapped crypto wallet addresses: when a visitor copied a wallet address on a page about deposits or payments, the script quietly replaced it with the attacker’s address.
- Skimmed payment cards: it watched checkout forms and sent card numbers, expiry dates and CVVs to the attacker’s server.
- Stole screenshots and cookies: it captured an image of the page plus readable browser cookies.
- Targeted Apple devices: on older iPhones and iPads it tried to load further exploit code, according to Helme’s analysis.
Optimizely fixed the vulnerable path, removed the injected code, revoked sessions and tokens for affected accounts, and says it has notified affected customers. Researchers estimate the crypto theft was only a few thousand US dollars, but stolen cards, cookies and any device compromise leave no public trail, so the real damage is likely higher. Some details, including who is behind the attack, are still under investigation.
Not the first time this year
This is Optimizely’s second security incident of 2026. In February, attackers linked to the ShinyHunters group used a voice phishing (“vishing”) phone call to trick their way into internal business systems and access basic business contact details of customers. Optimizely said the attacker could not escalate privileges or install software in that incident. Different method, same lesson: attackers go after the tools and the people that marketing depends on.
Why this matters for digital marketers
Most marketers think of cyber security as the IT team’s job. But look at what sits on a typical business website today: Google Tag Manager, the Meta Pixel, Google Analytics, an A/B testing tool, a chat widget, heatmaps, review widgets and remarketing tags. Every one of these is third-party JavaScript, and marketers are usually the people adding it.
- Marketing scripts run everywhere, including login, account and checkout pages, unless someone deliberately keeps them off.
- One compromised vendor reaches thousands of sites. Attackers do not need to hack you if they can hack a tool you load.
- Marketing accounts are a target. Ad accounts, tag managers and testing platforms often have many users, agencies and ex-staff with access, and weak sign-in security.
- The cost lands on your brand. Customers don’t care whose script stole their card. They remember whose website they were on.
How digital marketers can prevent attacks like this
You cannot control a vendor’s security, but you can control how much damage a compromised vendor can do on your site. Here are ten practical steps.
1. Build an inventory of every third-party script
List every tag and script that loads on your website, who added it, why, and whether it is still needed. Check your Google Tag Manager containers, your theme or CMS settings and any plugins. Remove anything you no longer use. Fewer scripts means fewer ways in.
2. Keep marketing tags off checkout and payment pages
Your checkout does not need a heatmap, a testing tool or a chat widget. Configure your tag manager triggers to exclude payment pages. Better still, use hosted payment fields from your payment provider, such as Stripe or PayPal, which load inside a secure iframe that third-party scripts on your page cannot read. The Optimizely skimmer could not read cross-origin payment iframes.
3. Lock down every marketing platform account
- Turn on multi-factor authentication for Optimizely, Google Tag Manager, Google Ads, Meta Business, GA4 and your CMS. Prefer passkeys or security keys over SMS codes.
- Give each person the lowest access level they need. Not everyone needs “Publish” rights in Tag Manager.
- Remove former employees, freelancers and old agencies straight away, and review all users every quarter.
- Review API keys and connected apps, and delete any you don’t recognise.
4. Train your team to spot vishing and social engineering
The February incident started with a phone call. Agree a simple rule: never share login codes or approve sign-in requests because someone asked you to, even if they claim to be IT support or a vendor. Hang up and call back on a number you already know. The same goes for urgent emails asking you to “verify” an ad account or Business Manager.
5. Add a Content Security Policy with your developer
A Content Security Policy (CSP) is a website setting that tells browsers which domains are allowed to load scripts and receive data. An allowlist for scripts and outgoing connections would have blocked this attack’s payload download and data theft. Researchers note that a “strict-dynamic” style policy would not have helped, because it trusts any script added by an already-trusted script. Work with your developer to set one up, and turn on CSP reporting so you are alerted when something unexpected tries to load.
6. Use approvals and version history in your tag manager
Treat publishing tags like publishing a website change. Use workspaces, require a second person to review changes, write clear version notes, and check the version history regularly. If a tag appears that nobody remembers adding, investigate it immediately.
7. Monitor what actually runs on your pages
Configuration screens show what should load, not what does. Use a client-side script monitoring service or regular scans of your key pages to alert you when a new script or a new outgoing domain appears, especially on checkout pages.
8. Pin static libraries with Subresource Integrity
For files that should never change, such as a specific version of a JavaScript library, Subresource Integrity (SRI) lets the browser refuse the file if it has been altered. It does not work for snippets that are designed to change, like testing and tag manager containers, so it is one layer, not a complete fix.
9. Vet your martech vendors
Before adding a new tool, ask the vendor about their security certifications, how they notify customers of incidents, and whether they offer audit logs and multi-factor authentication. Follow their status pages and security notices so you hear about problems early.
10. Have an incident plan before you need it
Decide now who disables a tag, who contacts the vendor, who speaks to customers and who handles any legal or privacy notifications. When a vendor is breached, being able to switch off a script within minutes can save you from hours of exposure.
If your business uses Optimizely, do this now
- Open every Optimizely Web project and read the Project JavaScript field line by line. The malicious code was sometimes hidden or encoded, so a simple search is not enough.
- Review all users and API tokens on your account, remove anything unfamiliar, and check your inbox for a notice from Optimizely.
- Ask your developer or IT team to search logs from 16 November for connections to the domains
1688360[.]ccandwebshell[.]lol, which researchers linked to the attack. - If customers entered card details on your site during the exposure window, get advice on notifying them and your payment provider.
Frequently asked questions
Was my website affected if I don’t use Optimizely?
Not by this incident. Only sites loading Optimizely Web snippets were affected. However, the same type of attack has hit other script providers before, so every site with third-party marketing tags should follow the steps above.
Is it still safe to use Optimizely?
Optimizely says it has fixed the vulnerability, removed the malicious code and notified affected customers. The bigger lesson applies to every tool: limit what any single third-party script can do on your site, and keep it away from payment pages.
What is vishing?
Vishing is voice phishing: a scam phone call where the attacker pretends to be IT support, a vendor or a colleague to trick staff into sharing login details or approving access. It was behind Optimizely’s February 2026 breach.
Can a Meta Pixel or Google Tag Manager be hacked in the same way?
Any script your site loads can be misused if the account that controls it is compromised or the provider is breached. The most common risk is a weakly protected tag manager or ad account, which is why multi-factor authentication, limited access and change approvals matter so much.
Learn to manage tracking and tags the right way
Good digital marketing is not just about launching campaigns. It is about setting up tracking, tags and accounts properly, so they are accurate, secure and under your control.
Our Diploma in Practical Digital Marketing & AI is a 100% practical, CPD UK certified program with hands-on modules on Google Tag Manager, GA4, the Meta Pixel and Conversions API, so you know exactly what is running on your website and why. The 79th intake is now open with 15% off. Enrol now or message us on WhatsApp to find out more.
Sources: Optimizely status updates, StepSecurity, Scott Helme / Report URI, SecurityWeek, TechRadar and UpGuard reporting on the February and November 2026 incidents.