← Lab /Security & privacy

Compromised Optimizely script delivered malicious JavaScript to 178 sites

A vulnerability in Optimizely’s Web Experimentation platform allowed an attacker to inject malicious JavaScript that was served to visitors of at least 178 organizations.

Security & privacy Unit 42 17 Nov 2026 Incident analysis Real-world evidence

Published as “Borrowed Code, Real Consequences: What OPTIMJACK Teaches Us”

Why it matters

Compromised third-party scripts can bypass perimeter defenses, so organizations must segment and isolate sensitive inputs to limit damage from supply-chain breaches.

Summary

On November 16, 2026 a threat actor exploited a flaw in Optimizely's Web Experimentation platform to place malicious JavaScript in customer accounts. The tampered script was served from Optimizely's legitimate CDN and reached visitors of at least 178 organizations, performing wallet address swapping, payment-card skimming, and attempting iOS exploit delivery. Optimizely patched the issue on November 17, and the writeup recommends strict segmentation of third-party scripts to mitigate similar supply-chain attacks.

What they found 3

  1. Malicious JavaScript was served to visitors of at least 178 organizations via Optimizely's CDN.

    “Because the tampered snippets were served from the vendor's legitimate CDN under its own certificate, at least 178 organizations, including well-known media, technology and financial services brands, unknowingly served the code to their visitors.”

  2. The injected code performed wallet address swapping, payment-card skimming, and attempted iOS exploit delivery.

    “Once the code loaded in a visitor's browser, it did three things: - Cryptocurrency wallet swapping: It replaced wallet addresses that visitors copied with the attacker's own - Payment card skimming: It collected card details from checkout forms - Mobile exploit delivery: It attempted to deliver the Coruna and DarkSword exploit kits to iPhones and iPads”

  3. Optimizely patched the vulnerability and removed the malicious code on November 17.

    “Optimizely patched the flaw, removed the injected code and secured affected accounts early on November 17.”

Caveats 4

  • The writeup does not provide quantitative data on actual stolen funds or compromised payment records.
  • No technical details of the underlying vulnerability are disclosed, limiting verification.
  • No measurement of financial impact or number of compromised user credentials is provided.
  • The analysis focuses on a single vendor incident; broader prevalence of similar supply-chain attacks is not assessed.

What’s new here 3

  • First public disclosure of a supply-chain attack that leveraged Optimizely's CDN to deliver malicious JavaScript.
  • Demonstrates that compromised third-party scripts can perform cryptocurrency theft, card skimming, and mobile exploit delivery.
  • Provides concrete segmentation recommendations (removing non-essential tags, isolating payment collection in cross-origin iframes).

In the news