Malicious JavaScript Injection via Optimizely Compromises 178 Websites, Including BBC, CNN, and Zoom
What Happened — On 16 November 2026, researchers from Report URI discovered that a malicious JavaScript kit had been injected into the Optimizely Web experimentation platform and was being served to visitors of 178 customer sites. Optimizely delivers its experimentation code to client sites through a short JavaScript snippet that loads additional “Project JavaScript” from Optimizely’s CDN. An unauthorized party exploited a vulnerability in Optimizely’s Experimentation service, placed the malicious payload in the “Project JavaScript” field of several customer projects, and then used Optimizely’s trusted CDN to serve the code to end‑users.
Optimizely publicly acknowledged the incident on the same day, stating that the vulnerability had been fixed and the injected code removed from affected projects. The company also said it had secured the compromised user accounts and added extra protections to prevent future unauthorized script delivery.
Security researcher Scott Helme first reported the campaign, noting that the malicious kit performed a range of financially motivated actions: it swapped cryptocurrency wallet addresses, skimmed payment‑card data entered into on‑page forms, stole browser cookies and screenshots, and on iOS 18.6‑or‑earlier devices delivered the Coruna and DarkSword iOS exploit kits. By the time the payload was taken down, the attacker’s wallets had received roughly $7,150 in cryptocurrency.
The malicious code was injected into the “Project JavaScript” field of customer projects, causing browsers to treat the script as trusted because it originated from Optimizely’s own CDN. Helme’s team examined 1,611 Optimizely snippets and identified 188 that carried the malware, but he believes the true number of compromised sites is higher. The victims spanned several sectors, with banks and financial firms representing the largest group (32 organizations), followed by technology companies and retailers. High‑profile victims included the BBC, CNN, Zoom, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France‑KLM, Ledger, and Peacock.
The payload was highly dynamic. It was rebuilt 26 times over the course of a single day, each iteration adding new wallet addresses or additional functionality. For card‑skimming, the script captured card numbers, expiry dates, and CVV codes typed into a site’s own payment forms; however, fields hosted by third‑party payment processors were not affected. On iOS devices, the malicious page refreshed every 60 seconds, a behavior that could have been visible to users.
Investigations revealed that only 24 of the 178 affected organizations (15 %) had a Content Security Policy (CSP) strict enough to block the malicious script. Another 68 sites had no CSP at all, and 50 sites allowed the script to run and exfiltrate data. Optimizely’s own documentation recommends a CSP setting that permits the use of JavaScript’s eval function, which inadvertently allowed a backup copy of the malicious code to execute on HSBC’s site.
The campaign appears to be part of a broader threat landscape. Researchers at Hudson Rock and Ohey traced similar malicious scripts to three additional services—Kissmetrics, StorifyMe, and minute‑ly—dating back to 13 November. The same loader code was observed across these services, though attribution to a single actor remains uncertain. Earlier variants of the injection were first seen on Turkish websites in September, and a cash‑out address used in the November 2026 attack had also been active in March and on 3 November, linking the operation to prior campaigns.
Why It Matters for Trust & Control Assurance — The incident underscores the need for rigorous third‑party risk controls and continuous monitoring of external script integrity.
Who Is Affected — Media & broadcasting, technology SaaS, financial services, retail, travel & aviation.
Recommended Actions
- Inventory every third‑party script tag on your web properties and verify its provenance.
- Deploy a strict Content Security Policy that blocks inline and eval‑based scripts from untrusted origins.
- Implement continuous integrity monitoring of third‑party assets (e.g., Subresource Integrity hashes, runtime script‑change alerts).
- Conduct a supply‑chain risk assessment against the Verisq Common Framework control for vendor oversight.
- Review and rotate any credentials used to access third‑party platforms like Optimizely.
Technical Notes
- Attack vector: third‑party dependency (malicious JavaScript injected via Optimizely’s Experimentation service).
- Payload capabilities: crypto‑wallet address replacement, card‑skimming, cookie theft, screenshot capture, iOS exploit delivery (Coruna, DarkSword).
- Indicators: malicious domain registered on the morning of the attack; repeated payload rebuilds; CSP bypass due to
evalallowance. - Detection: discovered by external security researchers (Report URI, Hudson Rock) and confirmed by Optimizely’s internal investigation.