Skip to main content
Emerging ThreatsMalware & Ransomware

Optimizely Flaw Exploited to Inject Malicious Code on Hundreds of Sites

Cityscape with distorted billboard and blurred computer in foreground.

188 of the 1,611 Optimizely snippets checked contained malicious code

Security researchers at Report URI, led by Scott Helme, found injected JavaScript in 188 of the 1,611 Optimizely snippets they examined, code that reached visitors of at least 178 organizations' websites. The compromised pages included sites run by Zoom, the BBC and CNN, as well as Salesforce, GitLab, IKEA and Optimizely itself.

How the attacker delivered code: Project JavaScript and Optimizely's CDN

The attacker placed the malicious payload in customer projects' Project JavaScript — a custom-code field that runs on every page — while leaving the rest of each Optimizely snippet unchanged. Because the tampered files were still served from Optimizely's content delivery network and carried Optimizely's certificate, the injected scripts appeared to come from a trusted source, Report URI explained.

What the injected JavaScript did: wallet theft, card skimming, cookies and iOS exploit kits

Report URI detailed multiple malicious functions in the injected code. First, the script swapped cryptocurrency wallet addresses for the attacker's own; Report URI said those wallets had received about $7,040 by 19:25 UTC on November 16 before being emptied early the next day. Second, the code acted as a card skimmer, capturing card details typed into websites' own forms — though cards entered into hosted payment iframes were not accessible to the script. The payload also stole some cookies and took page screenshots.

On iPhones and iPads, the JavaScript delivered two iOS exploit kits Report URI identified as Coruna and DarkSword. Report URI advised visitors to update to iOS 18.7.3 or later, or iOS 26.3 or later.

Timeline: injection, response and attribution

Report URI observed the first injection at 04:21 UTC on November 16. According to the same research, all infected files had been cleaned by 23:11 UTC that day. Optimizely confirmed the incident in a November 17 notice, saying an "unauthorized party exploited a vulnerability in Experimentation" and used it to add malicious JavaScript to some customer projects. Optimizely said it had fixed the flaw, removed the injected code and taken steps to secure affected user accounts.

The attacker has not been publicly named. Report URI noted one of the attacker's wallets had been in use since March 2026 and linked the same actor to an earlier wave of injections through other third-party scripts. Report URI also cautioned the real number of affected organizations was likely higher than those it could check, because it could only analyze snippets it found in time.

Notable affected organizations and observable impact

  • Named sites reached by the malicious code: Zoom, the BBC, CNN, Salesforce, GitLab, IKEA and Optimizely itself.
  • Financial impact observed in blockchain receipts: approximately $7,040 credited to the attacker's wallets before funds were removed.
  • Data-stolen scope visible to researchers: card data entered into site-hosted forms (not hosted payment iframes), some cookies, and page screenshots; iOS devices exposed to exploit kits identified as Coruna and DarkSword.

What this means for technologists, affected enterprises and end users

Technologists and security teams will focus on the project-level custom code that runs across pages: here, the attacker exploited that Project JavaScript field and left snippets otherwise intact, while the malicious files continued to carry the vendor's CDN certificate. A defense emphasis will be on restricting and auditing custom code fields and monitoring third-party script integrity.

Affected enterprises and procurement leaders will take particular note that high-profile brands were reachable through a vendor platform; Optimizely said it removed the injected code and secured user accounts, but Report URI warned the visible count of affected customers is likely an undercount. Enterprises will need to review vendor controls and their ability to detect and respond to vendor-side compromises.

End users should assume that sites loaded from a compromised third-party script can deliver both credential- and payment-stealing code and, on some Apple devices, exploit kits. Report URI specifically advised iPhone and iPad users to update to iOS 18.7.3 or later, or iOS 26.3 or later.

William Wright, CEO of Closed Door Security, summed the operational lesson in emailed comments to reporters: "Supply chain breaches may be an inherent weakness of the web in its current form, but this doesn't excuse organizations from failing to reduce their own attack surface."

The immediate technical fixes are visible: Optimizely plugged the vulnerability, removed the code and said it secured affected accounts. What remains open in the record is how many more snippets or downstream customers escaped detection and whether the same actor will be linked conclusively to prior injections Report URI cited. For organizations and users alike, the episode is a sharp reminder that trust in a vendor's delivery mechanisms can be exploited to multiply impact — and that the consequence is not only stolen cryptocurrency but captured card data and active device exploitation.

Source: Infosecurity Magazine — Optimizely Flaw Exploited to Serve Malicious Code to Visitors of 178 Organizations