The Optimizely supply chain attack spread malicious JavaScript through legitimate Web Experimentation snippets on November 16, 2026. An attacker abused an account-signup flaw, impersonated customer administrators and changed Project JavaScript that Optimizely’s CDN then delivered to visitors’ browsers. Website servers and source repositories didn’t have to be compromised. Payment data, cryptocurrency transactions and readable browser secrets were potentially exposed.
How did the Optimizely supply chain attack work?
The Optimizely supply chain attack exploited a flaw in the Optimizely Web Experimentation signup flow on November 16, 2026. According to Optimizely’s November 17 incident report, the attacker impersonated customer administrators, modified Project JavaScript and used Optimizely’s legitimate content delivery network to distribute an injected loader across affected websites.
A software supply-chain attack is a security incident that compromises a trusted vendor or dependency to reach the vendor’s customers. Here, the dependency wasn’t an npm package or server library. It was remotely managed JavaScript embedded in production pages.
When a visitor opened an affected page, the browser requested the expected snippet from cdn.optimizely.com. The altered snippet then fetched code from attacker-controlled infrastructure. Report URI documented direct script tags, Base64-obfuscated variants and an inline eval() fallback, giving the loader several ways to execute.
The delivery path explains the incident’s reach. One change inside an experimentation project could affect every page loading that project’s snippet, without changing the customer’s Git repository, deployment artifact or web server. Traditional file-integrity monitoring could therefore report a clean application while browsers received hostile code.
Only Optimizely Web Experimentation was implicated in the 2026 incident. Optimizely said Feature Experimentation, its SDKs and legacy Full Stack weren’t affected. The company also said no customer passwords or Optimizely administrator account had been compromised.
How long were websites exposed in 2026?
Optimizely recorded a 14-hour, 33-minute exposure window on November 16, 2026, running from 07:51 to 22:24 UTC. Detection occurred at 13:34 UTC, malicious outbound delivery was blocked at 16:06 UTC, the signup vulnerability was remediated at 16:10 UTC, and all injected code was removed by 22:24 UTC.
| Event | Time (UTC) | Elapsed from first exposure |
|---|---|---|
| Recorded exposure began | 07:51 | 0 hours |
| Optimizely detected the incident | 13:34 | 5 hours, 43 minutes |
| Outbound malicious code was blocked | 16:06 | 8 hours, 15 minutes |
| Signup vulnerability was remediated | 16:10 | 8 hours, 19 minutes |
| Attacker sessions ended and tokens were revoked | 16:53 | 9 hours, 2 minutes |
| Injected code was fully removed | 22:24 | 14 hours, 33 minutes |
The timing matters when you assess exposure. Blocking outbound delivery at 16:06 UTC reduced the loader’s ability to retrieve attacker code, but complete cleanup took another 6 hours and 18 minutes. Report URI also observed one cleaned Smartsheet snippet become reinfected during the response, indicating that attacker write access remained active at that point.
Optimizely marked the incident resolved on November 17, 2026, after fixing the vulnerability and cleaning affected projects. The company also engaged Mandiant for an independent forensic investigation; final root-cause findings and complete indicators were still pending in the initial report.
What data could the malicious JavaScript steal?
Malicious code delivered during the Optimizely supply chain attack could replace cryptocurrency addresses and collect payment-card details entered into readable first-party forms. Optimizely’s November 17, 2026 report described payment information and cryptocurrency activity as intended targets, while separate security analysis identified attempted delivery of exploit kits for Apple iOS and iPadOS devices.
Browser context determines what was reachable. Ordinary card fields placed directly in an affected page’s document object model could be read by the injected code. Hosted payment fields inside cross-origin iframes, including hosted forms from Stripe or Adyen, were beyond its reach because the browser’s same-origin policy separates their contents.
That distinction is easy to miss and operationally significant. Moving card entry into a payment provider’s cross-origin hosted fields can reduce exposure to compromised first-party scripts. For online stores reviewing architecture, the same isolation question belongs alongside broader e-commerce platform security considerations.
Report URI said certain crypto-address-swapping variants could collect readable cookies and screenshots. Cookies marked HttpOnly aren’t readable through JavaScript, but session secrets in non-HttpOnly cookies should be treated as potentially exposed wherever malicious code executed.
No verified total existed on November 17, 2026 for stolen cards, compromised devices or affected visitors. Report URI attributed approximately $7,040 in observed cryptocurrency receipts to attacker wallets in 2026, but cautioned that the figure didn’t prove every transaction resulted from this campaign. Capability is not confirmed loss.
How many organizations were affected?
Report URI reported finding 188 infected Optimizely snippets associated with 178 organizations on November 16, 2026, after examining 1,611 snippets. That equals an observed infection rate of about 11.7% among the examined snippets, but Report URI warned that the true total could be higher and didn’t claim a complete global census.
The calculation is straightforward: 188 divided by 1,611 equals 0.1167, or 11.7%. Organization count and snippet count differ because a single organization can operate multiple experimentation projects. Neither number establishes how many visitors loaded malicious code or submitted sensitive information.
Report URI associated affected properties with Zoom, BBC, CNN, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger and Peacock, among others. Association with an infected snippet doesn’t by itself prove data theft, successful exploitation or a reportable breach at every named organization.
That restraint matters. Headlines often turn a technically capable payload into an assumed mass compromise, but incident evidence must connect execution, accessible data and exfiltration. The 2026 campaign resembles other browser-side compromises, including the techniques discussed in the Magento malware campaign analysis, where page context and evasion shaped the actual risk.
What should website operators do after the attack?
Website operators should identify every page that loaded Optimizely Web Experimentation during the November 16, 2026 exposure window, preserve relevant logs and determine what browser-accessible data appeared on those pages. Response should prioritize payment fields, authentication flows, readable cookies, outbound requests and changes to remotely managed scripts rather than rotating every credential indiscriminately.
Use the following response sequence to contain risk and build a defensible exposure assessment:
- Inventory every remotely changeable browser tag, including experimentation, analytics, advertising, consent and customer-support scripts.
- Map affected pages and traffic between 07:51 and 22:24 UTC on November 16, 2026, accounting for time-zone conversion and CDN caching.
- Preserve CDN, web application firewall, browser telemetry, payment and transaction logs before retention periods expire.
- Inspect Content Security Policy reports and outbound requests for attacker domains, unexpected frames, script loads and unusual connections.
- Review card and cryptocurrency transactions, while keeping observed suspicious activity separate from confirmed fraud.
- Rotate exposed browser session secrets where malicious JavaScript executed, particularly values stored in readable cookies or web storage.
- Monitor remote scripts for hash, source-domain and behavioral changes after service restoration.
Optimizely said customers didn’t need to regenerate its API tokens because the incident wasn’t a customer-credential breach. Blanket rotation creates noise and can disrupt services without reducing the relevant risk. By contrast, readable session tokens present in affected browsers deserve targeted invalidation.
A restrictive, enforced Content Security Policy could have blocked external scripts, network connections and frames used by the payload. Merely allowing cdn.optimizely.com wasn’t enough because the first modified code arrived from that trusted host. CSP needs tight destination rules, nonces or hashes where practical, reporting and testing in enforcement mode.
Honestly, treating marketing and experimentation tags as harmless page furniture is no longer defensible. Unit 42’s November 18, 2026 analysis argued that third-party tags are production dependencies and belong in supply-chain controls. Pair runtime monitoring with periodic testing through suitable web application vulnerability scanners, while recognizing that a scanner alone may miss a short-lived remote script change.
The strongest architectural defense is isolation. Keep payment and authentication interfaces away from broadly authorized third-party scripts, use cross-origin hosted fields where they fit, mark session cookies HttpOnly, Secure and appropriately SameSite, and give tag-management access the same scrutiny as production deployment access.
FAQ about the Optimizely incident
Was Optimizely itself hacked?
The 2026 incident involved a flaw in the Optimizely Web Experimentation signup flow that enabled customer-administrator impersonation and Project JavaScript changes. Optimizely said no Optimizely administrator account or customer password was compromised.
Did the attack compromise customer web servers?
The Optimizely supply chain attack didn’t require access to customers’ servers or application repositories. Modified JavaScript was served through Optimizely’s legitimate CDN and executed inside visitors’ browsers.
Would Subresource Integrity have stopped the malicious snippet?
Subresource Integrity can block a changed external file when a page pins an expected hash, but frequently changing experimentation snippets make static hash management difficult. Website operators should combine integrity controls where practical with CSP, isolation and remote-script monitoring.
Should every Optimizely customer reset API tokens?
Optimizely said on November 17, 2026 that customers didn’t need to regenerate Optimizely API tokens because the event wasn’t a customer-credentials breach. Browser session secrets readable by injected JavaScript require a separate, exposure-based rotation decision.
Were Stripe and Adyen payment forms exposed?
Stripe or Adyen hosted fields inside cross-origin iframes weren’t readable by the injected script, according to Optimizely’s 2026 incident report. Card fields rendered directly in an affected page’s DOM were potentially accessible.


