Hackers Turned 178 Major Websites Into Malware Traps Through Optimizely
Visitors to some of the world’s best-known websites were served malicious code on Monday after attackers compromised a tool companies use to test and personalise their web pages.
The attack ran through Optimizely, whose small piece of JavaScript is loaded by hundreds of major sites. By injecting their own code into Optimizely’s system, the attackers turned household-name websites into malware delivery vehicles — without breaking into any of those companies directly.
Security researcher Scott Helme, of the website security firm Report URI, examined 1,611 Optimizely scripts and found malicious code in 188 of them, linked to 178 organisations. The affected sites included the BBC, CNN, Fox News, Zoom, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger and Peacock, Cybernews reported.
Optimizely confirmed that an unauthorised party exploited a vulnerability in the sign-up process for its Web Experimentation product and added malicious JavaScript to some customer projects. In a status notice posted at 01:02 UTC on Tuesday, it said it had fixed the vulnerability, removed the injected code and secured affected accounts, HackRead reported.
How the attack worked
Optimizely lets companies test different layouts and features by loading a small JavaScript snippet from its servers. That code runs on the customer’s website. The attackers inserted their own malicious instructions into that code across hundreds of customer projects, so visitors kept downloading what appeared to be legitimate JavaScript from Optimizely’s trusted domain while the code actually running on the page had been secretly modified.
Report URI traced the first observed injection to a BBC-related file at 04:21 UTC on Monday, 16 November; most of the malicious code was gone by the end of the day, after roughly 19 hours of exposure. Researcher Amirul Iman has named the campaign “OPTIMJACK”.
The incident follows other recent third-party failures: California’s lawsuit against OpenAI over rogue AI agents and a software bug that disrupted payments at Chase and other major banks.
What the code was designed to steal
The injected scripts were built to make money. When a visitor copied a cryptocurrency wallet address, the code could silently swap it for an address controlled by the attackers, diverting the payment. At 13:43 UTC on Monday, the attackers added functionality to collect payment card details from website forms.
The scripts also collected browser cookies — the tokens that keep people logged in — and in some circumstances captured screenshots of the pages victims were viewing.
Report URI said cryptocurrency theft had already been confirmed, with about $7,040 reaching wallets linked to the attackers within around nine hours. That is a floor, not a total, and the full financial impact remains unknown.
North Korea’s denial of the $6.3 billion Binance hack concerned a far larger theft, but the Optimizely case shows the same motive at work through a compromised supplier.
iPhones in the firing line
The malware also took aim at Apple devices. The script detected whether a visitor was using an iPhone or iPad, checked the iOS version, and attempted to load one of two exploit kits, Coruna and DarkSword.
Coruna was used against devices running iOS 13 through 17, while DarkSword targeted iOS 18, according to Report URI. A separate chain was also present for iOS 26, although researchers said it only identified the device. The kits themselves treated newer patched versions of iOS as protected.
No verified count of compromised iPhones exists in the available reporting, and Reuters said it could not establish whether the code succeeded in every case. Apple suffered a separate service disruption on Tuesday; no verified evidence connects it to the Optimizely campaign.
Companies respond — and what remains unknown
Salesforce said it was investigating unauthorised changes to Optimizely scripts and had disabled them as a precaution. Equifax said it had stopped using Optimizely and found no evidence its own systems had been compromised. HSBC said unauthorised scripts were not active on its websites, and IKEA said it was assessing the impact.
The 178-organisation figure is the campaign’s reach as measured by researchers, not a confirmed tally of successful breaches. It does not mean that all 178 companies had their internal systems breached, that every page was affected, or that every visitor had information stolen. Report URI said the real number is likely higher, because its team could only check the snippets it found in time. Optimizely has not published a complete list of affected customers or a root-cause report; it said it had ended active sessions, revoked tokens and reset access for affected accounts.
What visitors should do now
Anyone who visited one of the affected sites on Monday, entered payment details, copied a cryptocurrency wallet address or logged in during the exposure window should check their card statements and crypto transactions for anything unfamiliar, and update their iPhone or iPad to the latest version of iOS. A padlock in a browser’s address bar guarantees an encrypted connection, not a clean page.