Lead story
The A/B Test Nobody Agreed To: How an Optimizely Flaw Turned Trusted Scripts Into a Skimmer Delivery Network
If you visited the BBC, CNN, Zoom, GitLab, Salesforce, Equifax, HSBC, or IKEA's website yesterday, there's a decent chance your browser ran code you didn't ask for. An attacker exploited a vulnerability in Optimizely Web Experimentation — a widely used A/B testing and personalisation platform — to plant malicious JavaScript inside the scripts that customer sites load directly from Optimizely's servers. Around 178 organisations were affected, according to monitoring firm Report URI.
That matters because of how Optimizely works. Sites don't host these scripts locally — they pull them in from a shared Optimizely CDN at page load time. It's the same architecture that makes A/B testing fast and easy, and it's the same architecture that makes a single upstream compromise fan out instantly to every customer's visitors simultaneously. Think of it as a poisoned water main rather than a poisoned tap.
The malicious payload was doing two things. First, a card skimmer — scraping payment card numbers, CVVs, expiry dates, and email addresses as users typed them into checkout forms. Second, an iOS exploit kit targeting iPhone and iPad visitors. Optimizely confirmed the breach in a statement early yesterday and said it has since patched the underlying flaw and removed the malicious code.
The incident joins a growing pile of third-party script attacks — Magecart-style skimmers have been a persistent problem for over a decade, but the targets here are unusually high-profile. When a single vulnerability hands attackers a distribution channel inside CNN and the BBC in one shot, it illustrates why Content Security Policy (CSP) enforcement and subresource integrity (SRI) checks exist — and how rarely major sites implement them strictly enough to actually block this category of attack.
For Australian organisations: Optimizely is widely deployed by Australian retailers, media companies, and financial services firms that run conversion-optimisation programs. If your site uses Optimizely Web Experimentation and your logs show unusual script behaviour from yesterday, that's worth investigating urgently. Under the Notifiable Data Breaches scheme, if customer payment card data was exposed through your storefront — even via a third-party script you loaded — the notification obligation sits with you.
What Optimizely has said: The flaw is patched. Affected customers have been notified. The company hasn't yet disclosed the exact vulnerability class or confirmed how long the malicious code was live before it was detected.
What to watch: Whether any of the 178 affected organisations face regulatory action, and whether payment card networks (Visa, Mastercard) trigger PCI-DSS incident response procedures for affected merchants. The iOS exploit kit angle is also worth monitoring — if it was a zero-day rather than a known n-day, that changes the severity picture considerably for anyone who visited affected sites on a mobile device yesterday.
The fundamental lesson hasn't changed in ten years of Magecart incidents: loading third-party JavaScript with unrestricted DOM access is extending implicit trust to every server in that vendor's supply chain. Yesterday's attack is a reminder that this trust is frequently misplaced.