// news

Optimizely Supply Chain Attack Poisons 188 Customer Scripts

Terminal diff of an Optimizely JavaScript snippet showing an injected loader line

Attackers abused a flaw in Optimizely's Experimentation signup flow on 16 November to plant malicious JavaScript in 188 customer script files across 178 organizations, Scott Helme's team found. The Optimizely supply chain attack tried to skim cards, swap crypto addresses and push iOS exploit kits on sites including Zoom, CNN and Salesforce. Optimizely says the flaw is fixed, but firms running its tag must establish what their own pages served.

Key takeaways

  • A flaw in Optimizely's Experimentation signup flow let an attacker inject JavaScript into customer projects on 16 November; no CVE has been published.
  • Helme's team found 188 infected files across 178 organizations; BleepingComputer confirmed loader activity on Zoom, CNN, BBC, GitLab and Salesforce.
  • The track.js payload swapped crypto addresses, skimmed card fields, collected cookies and screenshots, and delivered the Coruna and DarkSword iOS exploit kits.
  • Optimizely cut infected files to one by 21:52 UTC the same day; the exposure window and visitor count remain unknown.
  • Tags on payment, deposit or login pages raise PCI DSS 6.4.3/11.6.1, GDPR, NIS2 and DORA questions despite the short window.

What did Optimizely confirm about the signup flaw?

Optimizely told BleepingComputer that an unauthorized party exploited a vulnerability in the Experimentation account signup flow and used it to add malicious JavaScript to “some customer projects.” The statement names no CVE, CVSS score, bug class, affected version or threat actor.

The signup detail matters. Each Experimentation project becomes the snippet customers load for A/B tests and personalization, so editing a project means editing what runs in visitors’ browsers. Signing up should never grant write access to code served on customers’ sites. Optimizely has not said how a signup could reach production code.

That snippet runs with the privileges of the page that embeds it. It can read page content, form fields and any cookie not flagged HttpOnly. It cannot read inside a cross-origin payment iframe, which is why page-by-page scoping matters.

Which sites served the malicious Optimizely scripts?

Helme’s team analyzed 1,611 Optimizely scripts and found 188 infected files tied to 178 organizations. The earliest injection they observed came in the early morning of 16 November.

BleepingComputer used urlscan.io scans to confirm the malicious script loading, or trying to load, on Zoom, KLM, GitLab, BBC, CNN, Smartsheet, Stamps.com and Salesforce, among others. Fox News, Air France, HSBC Insurance, IG, Bitly and Optimizely itself were also named. A loader request in a scan does not prove card data left a given site.

No Cyprus-licensed firm appears among the published names, but the full list of 178 organizations is not public. Check your own projects.

Salesforce said it was investigating and had disabled Optimizely scripts “across preview and production instances” as a precaution, and will notify customers if it finds unauthorized access to their data. Kill the tag first, investigate second: that is the right playbook.

What was the injected script built to do?

The injected code fetched a second-stage script, track.js, from an attacker-controlled domain, sometimes in plain text, sometimes hidden in Base64 and decoded with atob(). Helme also found a variant carrying an embedded copy of the payload that runs if the remote fetch is blocked.

  • Crypto clipping: it swapped wallet addresses on the page for attacker addresses, so a user copying a deposit address pays the attacker.
  • Card skimming: it grabbed card numbers, expiry dates and security codes typed into the page and tried to send them to a separate endpoint.
  • iOS exploitation: it served iPhones and iPads the Coruna and DarkSword exploit kits, as Helme identified them, each aimed at different iOS versions.
  • Reconnaissance: it collected cookies, page URLs and screenshots.

We do not print indicators. Ask Optimizely or your threat-intel provider for them, and remember that blocking the domain stops the download but not the embedded fallback.

The money trail

Wallets in the script had received about $7,000 by 16 November, mostly 0.08298 BTC (about $5,380) and 17.02 LTC (about $762). Some of those wallets were active before the attack, so the total overstates the campaign’s take by an unknown amount.

Banks reissue skimmed cards. An exploited iPhone needs an update and a closer look.

Is the Optimizely vulnerability patched, and is the tag safe to keep?

Yes, according to Optimizely. It blocked the vulnerable path, deployed a fix, removed injected code, ended sessions, revoked tokens, reset affected accounts, blocked code delivery through Cloudflare and notified affected customers. By 21:52 UTC on 16 November, Helme found one of the 188 files still infected.

Nothing in Optimizely’s statement tells customers to remove the snippet. Our call: a project you have verified as clean can stay on marketing pages. Keep it off payment, deposit and login pages until you have reviewed its change history, and preferably for good.

Gaps remain. Optimizely has not said how long the flaw existed or how many visitors received the loader. A clean script fetched today proves nothing about 16 November.

What should a Cyprus site check after the Optimizely supply chain attack?

List every page that loads Optimizely or a similar tag, then rank those pages by what a script there can touch.

  • Scope page by page. A tag on a marketing page cannot read card data inside a cross-origin hosted checkout iframe. The same tag beside native card fields, a deposit address or a logged-in portal sees everything typed there. EMIs, brokers and iGaming operators should start with deposit and withdrawal screens.
  • Pull your own records. Export each project’s change history and review collaborators and API tokens for anything added or edited on 16 November, on top of Optimizely’s reset.
  • Get a written answer from Optimizely, your processor for whatever its tag touches: were your projects affected, and what does it know about exposed visitors? Log when your own team learned of the incident; GDPR and NIS2 deadlines run from your awareness, not from the vendor’s disclosure.
  • Preserve evidence: archived script bodies, HAR files and CSP violation reports. Web server logs only show that the visitor’s browser requested the Optimizely script; they cannot show exfiltration from the browser to the attacker’s endpoint. DNS or secure web gateway logs fill that gap for staff devices.
  • Tell affected users who used those pages on 16 November to check card statements and crypto transfers and update iOS and iPadOS.

Does a one-day script injection still create PCI, GDPR and NIS2 work?

It does. PCI DSS v4.0.1 requirements 6.4.3 and 11.6.1, mandatory since 31 March 2025, require merchants to authorize every payment-page script, assure its integrity and detect tampering with the page as the browser receives it. If an experimentation tag sat on your checkout and nothing alerted when it changed, expect your QSA to ask why.

Our PCI DSS penetration testing maps that script inventory against your cardholder data environment.

GDPR notification depends on what data was exposed and the risk to people, with 72 hours to the supervisory authority where it applies. A poisoned script on a marketing page is not automatically notifiable; skimmed cards from a native checkout probably are. NIS2 entities owe a 24-hour early warning for significant incidents.

Since 17 January 2025, DORA has required financial entities to manage ICT third-party risk and register ICT contracts, and a tag vendor touching client portals belongs in that register. For licensed payment firms, EMI penetration testing should cover client-side scripts.

Why a Content Security Policy alone would not have stopped it

A CSP that allowlists Optimizely’s origin lets the poisoned snippet run, because CSP checks where a script comes from, not what it contains. Strict script-src and connect-src rules could have blocked the track.js fetch and the exfiltration calls, and reported both. The embedded fallback defeats the first, so connect-src is the control that matters.

In client-side reviews we regularly find experimentation tags on login and payment pages because nobody scoped them out after launch. The cheapest fix is unglamorous: keep them off checkout, deposit and authentication pages, require approval for project edits and keep a kill switch like Salesforce’s. Our write-up of the Convertr analytics skimmer shows the same pattern.

FAQ

Did the Optimizely attack steal credit cards?

The payload was built to capture card numbers, expiry dates and security codes. Whether it got any from a given site depends on whether the tag ran beside native card fields; no per-site theft figures have been published.

Was Salesforce affected by the Optimizely attack?

Some Salesforce websites carried the modified scripts. The company switched Optimizely off in preview and production while it investigates and says it will notify customers if their data was accessed.

Is the Optimizely vulnerability patched?

Optimizely says it blocked the vulnerable path, deployed a fix and removed the injected code. Helme found one of 188 files still infected at 21:52 UTC on 16 November.

Should visitors who used affected sites on 16 November take action?

Yes. Check card statements and crypto transfers made that day, watch for unusual account activity and update iOS and iPadOS.

If marketing tags share pages with your checkout, deposit flow or client login, an e-commerce penetration test will show which third-party scripts can read what, before an auditor or attacker does.


// get started

Work with CyprusPentest

Tell us about your target and goals. We’ll reply with scope and a fixed-price quote — usually within one business day.

./request_engagement