The Optimizely supply chain attack injected malicious scripts into major websites on 16 November, exposing visitors to card theft, cryptocurrency hijacking and iOS exploits. Optimizely confirmed the incident on 17 November.

The incident matters because the malicious code arrived through a service that website operators had deliberately trusted. Visitors did not need to follow a suspicious link or download an attachment: affected pages could load the script as part of their normal operation.

How the Optimizely supply chain attack worked

Optimizely provides experimentation and personalisation tools that organisations use to test changes to their websites. Its JavaScript is loaded into customers’ pages to provide those functions, according to BleepingComputer.

Optimizely told BleepingComputer that attackers used the signup-flow vulnerability to add malicious JavaScript to some customer projects. The altered files then loaded, or attempted to load, an additional script from an attacker-controlled domain.

BleepingComputer reported that some injections referenced that address directly. Others concealed it with Base64 encoding and JavaScript’s atob() function. Security researcher Scott Helme also identified a variation containing an embedded copy of the code that could run if the remote script was blocked.

That design made the website’s existing trust relationship part of the delivery mechanism. A conventional block on the remote address alone would not necessarily cover every observed variation.

Which websites and visitors were affected

Helme reported on 16 November that his team had found 188 infected Optimizely JavaScript files belonging to 178 organisations after analysing 1,611 scripts. Report URI, which monitors scripts used by websites, also attributed the visitor exposure to 16 November, according to The Hacker News.

BleepingComputer said it independently confirmed malicious script activity through scans recorded by urlscan.io. Sites in its reporting included Zoom, KLM, GitLab, the BBC, CNN, Smartsheet, Stamps.com and Salesforce. Other organisations named included Fox News, Air France, Change.org, HSBC Insurance, Bitly and UNICEF USA.

The number of visitors exposed remains unclear. Helme’s investigation placed the earliest observed injection in the early morning of 16 November, but BleepingComputer reported that it was not known how long the vulnerability had existed.

What the injected scripts could do

Copies analysed by BleepingComputer contained several distinct functions. One monitored pages for cryptocurrency wallet addresses and replaced them with attacker-controlled addresses, potentially redirecting transfers.

Another searched for card numbers, expiry dates and security codes entered into webpages and attempted to send the captured information to the attackers. The script could also collect browser cookies, page URLs and screenshots.

A third component loaded additional JavaScript aimed at iPhones and iPads. Helme identified the secondary payloads as the Coruna and DarkSword exploit kits, which targeted different iOS versions.

Wallets embedded in the script had received approximately $7,000 in transactions as of 16 November, according to Helme’s investigation. Some wallets had been active before the campaign, so that figure does not establish how much was stolen through the compromised websites.

A trusted experimentation script became a delivery route for payment theft and device exploits across unrelated websites.

How Optimizely and customers responded

Optimizely said it had blocked access to the vulnerable path and deployed a fix. It also said it had removed injected code from affected projects, ended active sessions, revoked tokens and reset access for affected user accounts.

The company said it had blocked code from being delivered in Cloudflare, notified all affected customers and continued to investigate. It directed users to status.optimizely.com for updates.

Helme reported that the cleanup had reduced the number of infected scripts. Only one of the 188 previously compromised files still contained malicious code as of 21:52 UTC on 16 November, according to his findings.

Salesforce said it was investigating modifications to Optimizely scripts used on some of its websites. It said it was confirming that those scripts were disabled across preview and production instances as a precaution and would notify affected customers without undue delay if it identified unauthorised access to their data.

What website operators should do now

Operators that use Optimizely should follow the company’s status updates and establish whether their projects were among those modified. Optimizely’s account of revoked tokens, ended sessions and reset access shows why teams should also check administrative access and active integrations rather than examining page code alone.

The incident also gives operators a reason to inventory which third-party scripts can execute in payment, account and cryptocurrency workflows. The reported fallback payload demonstrates that filtering a single external domain may not remove malicious logic already embedded in a trusted file.

The broader lesson resembles other credential and tooling compromises, including the abuse of an AI penetration-testing tool to steal AWS credentials: access granted to a legitimate service can become the attacker’s route into downstream systems.

What visitors should check

Anyone who visited an affected website on 16 November and made a cryptocurrency transfer should review the destination address, according to BleepingComputer’s guidance. The malware could replace the address displayed on the page with one controlled by the attackers.

People who entered payment-card details should monitor their accounts for unauthorised transactions and contact their card issuer if they find suspicious activity. They should also watch for unexpected account activity, particularly if they were logged into sensitive services while visiting an affected site.

iPhone and iPad users should install the latest available iOS or iPadOS updates because the campaign delivered exploit kits targeting vulnerabilities in older versions. General update steps are covered in how to keep software and devices updated.

The number of compromised scripts fell during cleanup, but the exposure window and any resulting losses have not been established. Optimizely’s investigation and customer notifications are therefore the next developments to watch.