Borrowed Code, Real Consequences: What OPTIMJACK Teaches Us
A threat actor exploited a vulnerability in a web experimentation platform to inject malicious code into the websites of many organizations.
Overview
On Nov. 16, 2026, a threat actorA person or group that carries out cyberattacks, whether for money, spying, or disruption exploitedA piece of code or technique that uses a software flaw to break into or crash a system a vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend in Optimizely's Web Experimentation platform to inject malicious JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers into customer accounts. This campaign, nicknamed OPTIMJACK, delivered the code to visitors of at least 178 organizations' websites. The tampered code was served directly from the vendor's legitimate content delivery networkA geographically spread network of edge servers that caches web content close to visitors and absorbs attack traffic under its own security certificateA file that ties a public key to a name, signed by a certificate authority. Once loaded in a visitor's browser, the code performed cryptocurrency walletA software app or hardware device that stores the private keys needed to spend cryptocurrency swapping, payment card skimming, and mobile exploit delivery. The attacker targeted third-party tools because they offer a path of least resistance into environments that have hardened their core web infrastructure. Enterprises must treat any vendor scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application with dynamic execution privilegesThe level of authority an account or process has to change settings, read files, or run commands as part of their direct productionThe live servers and databases that real customers actually use, as opposed to internal test machines code.
Terms in this story
- threat actor
- A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 lists the term
- exploited
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- content delivery network
- A geographically spread network of edge servers that caches web content close to visitors and absorbs attack traffic. Many websites sit behind a CDN so pages load quickly worldwide and so flood traffic hits the provider's edge servers instead of overwhelming the company's origin server.
- certificate
- A file that ties a public key to a name, signed by a certificate authority. Web browsers check a site's certificate on every secure visit, and news stories report when an expired or stolen certificate causes outages or lets an attacker impersonate a domain. From the CYBR 101 room CYBR 101: What is a hash?; Security+ objective 1.4 lists the term
- Cryptocurrency wallet
- A software app or hardware device that stores the private keys needed to spend cryptocurrency. If an infostealer copies the secret seed phrase or key file from a victim's cryptocurrency wallet, the attacker can drain the funds irreversibly in seconds.
- cryptocurrency
- Digital money tracked on a public ledger using cryptography instead of a central bank. Cryptocurrency appears constantly in cybersecurity news because ransomware gangs demand payment in digital coins and hackers target online exchanges and digital wallets directly.
- privileges
- The level of authority an account or process has to change settings, read files, or run commands. Ordinary user accounts run with limited privileges so a single mistake cannot break the operating system, whereas administrator privileges allow installing drivers and viewing all files.
- production
- The live servers and databases that real customers actually use, as opposed to internal test machines. A bug or breach in a company's production environment directly affects live users and real customer records.
- supply chain attack
- Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Unit 42 website. Cite the article, not this page.
Read the full article on Unit 42 (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Breach or attack
"...threat actor exploited a vulnerability..." Found by reading the article; these exact words are in it - Who is affected: "...at least 178 organizations..." Organizations using the product
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"The OPTIMJACK supply chain attack demonstrates how a compromised vendor script can..." Found in the opening sentences - Security+ 2.3 Explain various types of vulnerabilities.
"The OPTIMJACK supply chain attack demonstrates how a compromised vendor script..." Found in the opening sentences - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"......expose websites, highlighting the need for strict segmentation." Found in the opening sentences - Security+ 3.3 Compare and contrast concepts and strategies to protect data.
"......expose websites, highlighting the need for strict segmentation." Found in the opening sentences - Security+ 4.3 Explain various activities associated with vulnerability management.
"......expose websites, highlighting the need for strict segmentation." Found in the opening sentences - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"The OPTIMJACK supply chain attack demonstrates how a compromised vendor script..." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"......how a compromised vendor script can expose websites, highlighting the need for strict segmentation." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of web applications and their common attack vectors.
"...exploited a vulnerability in optimizelys web experimentation..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Analyze identified malicious activity to determine weaknesses exploited, exploitation methods, effects on system and information.
"...delivered that code to visitors of at least 178..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Attackers Exploit Optimizely Flaw To Inject Malicious JavaScript
- Attackers Used Optimizely to A/B Test Malware on Top Websites
- Hundreds of websites deliver potent malware cocktail to unsuspecting visitors
- Website management platform Optimizely confirms hackers put malicious code into customer sites
- Optimizely Flaw Exploited to Serve Malicious Code to Visitors of 178 Organizations
- OPTIMJACK Attack Injects Malicious JavaScript Into CNN, Zoom and Other Major Websites to Steal Data
- CNN, BBC, Zoom, and other sites served malicious code in supply-chain attack
- Malware spread through Optimizely hits 178 organizations, including BBC, CNN and Zoom
- Optimizely Attack Hits Zoom, BBC, CNN With Skimmer, iOS Kits
- OPTIMJACK: BBC, CNN and Zoom Among Targets of Optimizely Script Hijacking
- Hijacked Optimizely Scripts Served Card Skimmer and iOS Exploit Kits to CNN, BBC and Zoom Visitors
- OPTIMJACK: Anatomy of the Optimizely Supply-Chain Compromise
- Optimizely hack infected CNN, Fox News, BBC, Salesforce sites with malware
- World's Largest Brands Infected With Malware Via Optimizely