6 min readBy Amandeep Singh

Optimizely Signup Flaw Let Attackers Inject Malicious JS

Optimizely says a signup-flow flaw let attackers inject malicious JavaScript into customer sites, risking crypto theft, skimming, and iOS exploits.

Share
Optimizely Signup Flaw Let Attackers Inject Malicious JS

A vulnerability in Optimizely’s Web Experimentation platform allowed an unauthorised party to add malicious JavaScript to customer projects, the company says. The altered snippets were then delivered to visitors of websites operated by major organisations, including the BBC, CNN, Zoom, Salesforce, GitLab, HSBC and Equifax.

Security researcher Scott Helme’s company, Report URI, identified 188 infected Optimizely snippets associated with 178 organisations after examining 1,611 scripts. The malicious code was designed to replace cryptocurrency addresses, collect payment-card details entered into some websites, capture browser-readable cookies and page screenshots, and direct iPhones and iPads towards exploit code.

The scale of exposure is clearer than the resulting harm. Public evidence reviewed for this report does not establish how many visitors received the code, how many payment cards or cookies were collected, or whether any iPhone or iPad was successfully compromised.

What Optimizely says happened

Optimizely acknowledged a security incident in a status-page update posted at 01:02 UTC on November 17. The company said an unauthorised party had exploited a vulnerability in its Experimentation service to add malicious JavaScript to some customer projects. It said it had fixed the vulnerability, removed injected code, secured affected accounts and added protections against further unauthorised code delivery.

In a separate public statement reproduced by BleepingComputer and on Optimizely’s social channels, the company identified the vulnerable path as the Experimentation account signup flow. It said it had blocked that path, ended active sessions, revoked tokens, reset access for affected accounts and blocked code delivery through Cloudflare. Optimizely also said it had notified affected customers.

Those are the company’s account of its response. The public statement does not explain the underlying technical defect, how the attacker gained the ability to modify projects belonging to many different customers, or whether any customer credentials were separately compromised. Report URI said it could not determine how the attacker obtained write access across unrelated projects.

How the malicious code reached visitors

Optimizely Web Experimentation lets customers run experiments and personalise website experiences. A customer website loads a JavaScript snippet from Optimizely’s content delivery network. That snippet can include customer-defined JavaScript, which runs in the visitor’s browser as part of the page.

Report URI said the attacker inserted code into the Project JavaScript field in customer projects. As a result, the altered snippets continued to be delivered from Optimizely’s legitimate infrastructure. A browser loading the script therefore encountered code served through a domain the website had already been configured to trust.

This is a client-side supply-chain incident: the malicious code entered through a service embedded in customer websites, rather than evidence that each named organisation’s own servers or internal networks were breached. The distinction matters. A compromised third-party script can act with the privileges available to JavaScript on the page where it runs, but that does not establish access to an organisation’s wider systems.

Report URI’s timeline places the first observed Optimizely injection at 04:21 UTC on November 16, in a BBC snippet. Its monitoring found the malicious code in 188 snippets. At 21:52 UTC that day, it found one of those 188 snippets still infected, down from 169 at 20:56 UTC. These are observations from Report URI’s sample, not a guarantee that every cached copy or browser session had been cleared.

What the payload attempted to do

Report URI described several capabilities in the injected JavaScript:

  • Cryptocurrency address substitution: the code searched for wallet addresses and replaced them with addresses controlled by the attacker. This could redirect a payment if a visitor copied or used the substituted address.
  • Payment-card collection: a later version watched form submissions and network requests for card details. Report URI said card data entered into a website’s own form fields could be exposed, while payment fields isolated in hosted cross-origin frames such as Stripe or Adyen were outside the script’s reach.
  • Cookie and screenshot collection: the code could collect cookies readable by JavaScript and capture page screenshots. Cookies marked HttpOnly are not readable through document.cookie; the public evidence does not support saying that all session cookies were stolen.
  • iOS exploit delivery: on Apple mobile devices, the code attempted to load exploit chains identified by Report URI as Coruna and DarkSword.

The iOS component needs careful wording. The presence of exploit-delivery code is not proof that a device was successfully compromised. Hudson Rock’s November 17 analysis said it had not established successful real-device exploitation or a campaign-wide victim count. The available public reporting also does not establish how many visitors were using vulnerable iOS versions when they encountered the code.

178 organisations does not mean 178 confirmed data breaches

Report URI’s count is based on 1,611 Optimizely snippets it could identify and inspect. It found 188 infected snippets associated with 178 organisations. The firm said the actual total could be higher because its scan covered only the scripts it was able to locate during the incident.

Its sector breakdown identified 32 banking and finance organisations, 23 technology and software organisations, 20 retail and fashion organisations, 12 streaming and entertainment organisations and 10 news and media organisations. The named organisations included the BBC, CNN, Fox News, Zoom, Salesforce, GitLab, IKEA, HSBC, Equifax, Ledger and Air France-KLM. Report URI also said Optimizely’s own website and login site had affected snippets.

These figures describe organisations and snippets in a researcher’s sample. They are not counts of individual visitors, confirmed stolen payment cards, compromised accounts or affected devices. Nor do they establish that each organisation’s internal infrastructure was breached.

Report URI said cryptocurrency wallets associated with the campaign had received approximately US$7,040 by 19:25 UTC on November 16. That figure should be treated as a researcher-reported wallet-receipt estimate, not as a verified total loss suffered by victims. Hudson Rock said it had not independently linked those transfers to affected visitors. The number of exposed cards and cookies remains unknown.

What affected companies said

Reuters reported that Salesforce was investigating unauthorised changes to Optimizely scripts and had disabled them as a precaution. Equifax said it had stopped using Optimizely and had found no evidence that its systems were compromised. IKEA said it was assessing possible effects on its services and customers.

Those responses underline why exposure to a malicious third-party script should not automatically be described as a breach of the customer’s internal network. The relevant questions differ by organisation: which pages loaded the altered snippet, what data those pages handled, whether visitors interacted with payment or cryptocurrency fields, and whether any sensitive information was actually transmitted.

What website operators should review

Organisations using Optimizely Web should follow the vendor’s current incident guidance and confirm directly with their Optimizely account team whether their projects were included. A review should cover project-level JavaScript, experiment-specific custom code, account users, active sessions, API tokens and any integrations that could modify projects.

Security teams should also examine historical script versions and web telemetry for the incident window, including Content Security Policy reports and unexpected outbound requests. Where the affected script ran on payment or account pages, teams should assess which fields and cookies were accessible to page JavaScript and determine whether credential or session rotation and customer notification are warranted. Those decisions should be based on the organisation’s own evidence and Optimizely’s guidance, not on the 178-organisation count alone.

For visitors, the practical steps depend on what they did on an affected site. Anyone who entered card details into a site’s own payment form during the exposure window should monitor statements and contact the card issuer if they see suspicious activity. People who copied or submitted a cryptocurrency address from an affected page should verify the destination against an independent trusted source. Apple device users should install current iOS security updates; an exploit attempt in a page does not, by itself, prove that a device was compromised.

The incident illustrates a difficult feature of modern web security: a site can carefully protect its own code and still inherit risk from scripts it delegates to outside services. The central unresolved issue is no longer whether malicious code was inserted—Optimizely has acknowledged that it was—but how the attacker obtained cross-customer write access and what data, if any, was taken from visitors.

AI-assisted content

This story was drafted and/or edited with AI assistance and reviewed before publishing.

Share

Written by Amandeep Singh

More posts

Get new stories by email

Explore more topics

Related stories

OpenAI and Cisco Launch Shirudo, an Experimental Runtime Shield for Linux
4 min read

OpenAI and Cisco Launch Shirudo, an Experimental Runtime Shield for Linux

OpenAI and Cisco have open-sourced Shirudo, a project designed to deploy temporary protections while teams prepare software patches. Its first public demonstration is narrow, and the project’s own documentation says it is not ready for production.