One Marketing Script Served Malware to 178 Organizations' Visitors
Attackers got into Optimizely's A/B testing platform and wrote their own code into customer projects. Thirty-two of the affected organizations were banks or finance firms.
178organizations whose visitors were served malicious JavaScript through one vendor
On November 16, visitors to 178 organizations’ websites were served malicious JavaScript. As far as anyone has reported, none of those organizations’ own systems were breached. The code arrived through Optimizely, an A/B testing service their marketing teams had installed on purpose.
Security researcher Scott Helme published the findings on the Report URI blog. His team fetched 1,611 distinct Optimizely snippets and found 188 infected, belonging to 178 organizations. The list he published includes Zoom, the BBC, CNN, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Peacock and the hardware wallet maker Ledger. Optimizely’s own site is on it too.
One caveat before going further, and Gizmodo raised it as well. Report URI sells tools that detect malicious scripts, so it has a commercial interest in this story. Optimizely has confirmed the incident, which is why I’m comfortable writing about it.
How it got in
Optimizely told Gizmodo that an unauthorized party “exploited a vulnerability in the Experimentation account signup flow” and added malicious JavaScript to some customer projects. The company said it blocked access to the vulnerable path, deployed a fix and notified the affected customers.
Helme’s account of the mechanics matches. The attacker wrote their own code into the “Project JavaScript” of customer projects and left the rest of each snippet untouched. When he published, he said he didn’t know how the attacker got write access to so many unrelated customers.
Either way, the result was the same for every site on the list. The malware was served from Optimizely’s own domain, which those sites already trusted.
What the code did
It was four attacks in one file.
- Crypto address swapping. The script looked for any valid wallet address on the page, across Bitcoin, Ethereum and other EVM chains, TRON, Solana, TON, Litecoin, Bitcoin Cash and Dogecoin, and replaced it with one of the attacker’s. It validated checksums, and it swapped addresses in page text, form fields, links, the clipboard and outgoing requests.
- Card skimming. It watched form submissions and outgoing requests for a card number, expiry date and CVV, and sent them to a server the attacker controlled.
- Cookie and screenshot theft. When it swapped an address near wallet or payment wording, it also sent the page URL, any cookies not marked
HttpOnly, and a screenshot of the page. - iPhone exploits. On iPhones and iPads it read the iOS version and loaded an exploit chain in a hidden frame: one kit for iOS 13 to 17, another for iOS 18. On iOS 26 it only fingerprinted the device. Pages on iOS 18.6 or earlier reloaded every 60 seconds to retry.
That last one stood out to me. Somebody spent real exploit kits on visitors to news sites and shoe stores.
What it cost
Helme checked the attacker’s wallets. As of 19:25 UTC on November 16 they had received about $7,040, all within roughly nine hours.
That figure only counts crypto that arrived on-chain. Helme says he has no way to see how many cards were skimmed, how many cookies or screenshots were taken, or how many iOS devices were infected. So $7,040 is the part that’s visible, and I wouldn’t read it as the damage.
Why this keeps working
An A/B testing tag exists so that someone who isn’t a developer can change what your website does without a code release. That’s the product. It means the vendor’s platform has write access to every page the tag is on, including the ones with login forms and card fields.
In security terms, a system that lets an outside party run code on your pages is remote code execution. Marketing calls it a tag.
Thirty-two banks and finance firms had this tag on their sites. Those are organizations with change control boards, penetration tests and compliance audits. All of that reviewed the code they wrote. It didn’t cover the script a vendor could rewrite at any time.
Two common defenses don’t help much here. An allowlist of trusted script domains passes this attack straight through, because the bad code came from the trusted domain. And you can’t pin an experimentation snippet to a known-good hash, because the snippet changes every time someone edits an experiment.
If you run a website
Helme’s advice to affected customers is specific, and I’d follow it:
- Open every project’s Project JavaScript and every experiment’s custom code. Look for
1688360.cc,atob(and any script you didn’t write. - Review who and what has write access to your Optimizely account, including users, API tokens and integrations, and rotate credentials.
- If you have card fields in your own forms, treat cards entered on November 16 as potentially exposed.
- Treat session tokens or secrets in cookies that aren’t
HttpOnlyas exposed, and rotate them. - Deploy a Content Security Policy. Restrict
connect-src, avoid'unsafe-eval'where you can, and turn on reporting. - Decide whether you need to tell your customers you served them malware.
I’d add three things for everyone else, affected or not.
- Inventory your third-party scripts. If you can’t list every outside script on your checkout page, start there.
- Keep marketing tags off the pages that handle money and logins. If the testing tool isn’t on the payment page, it can’t skim the payment page.
- Treat the tag platform’s admin console as production access. It should have the same sign-in controls and review as your deployment pipeline, because it deploys code.
The connect-src point deserves a sentence of explanation. This script had to send stolen data somewhere. A policy that only lets the page talk to servers you’ve listed would have blocked that, even though the script itself came from a trusted source.
If you visited one of these sites
- Update your iPhone or iPad to iOS 18.7.3 or later, or iOS 26.3 or later.
- Check any crypto transfer you made on November 16. If the address you pasted doesn’t match the one you meant to pay, it may have been swapped. Going forward, compare the address after you paste it, and confirm it on the hardware wallet’s own screen if you use one.
- Watch your card statements if you paid by card on an affected site.
David Cooper, CCIE #14019
Educational, not financial or legal advice. Views are my own. Details reflect what the cited sources reported as of November 17, 2026, and a full accounting of the damage has not been published.