At least 178 organizations, including several major brands, unwittingly exposed website visitors to hydra-like malware via a third-party platform.
Some of the world's most recognizable brands unwittingly became conduits for malware this week, after an attacker slipped malicious code into website testing scripts delivered by Optimizely, a platform that allows organizations to experiment with and optimize their online presence.
The attack potentially exposed visitors to sites operated by at least 178 organizations — including Zoom, CNN, Salesforce, and IKEA — to malware capable of stealing payment card details, hijacking cryptocurrency transactions, and delivering exploit kits for iPhones and iPads.
Industry observers note that many organizations use Optimizely to run website experiments, test different page designs and personalize content for visitors. To do this, Optimizely embeds scripts in customer websites that can serve different versions of a page or its content to visitors, track their interactions, and measure which versions perform best. (Related: Industry News: Director of Machine Learning Insights...)
Related:Matters.AI Lands India's Largest Cybersecurity Pre-Series A Round to Fight AI Data Risks.
The attackers appear to have exploited this mechanism to insert malicious code into a custom field called Project JavaScript, which allows Optimizely customers to run their own code across website pages.
Recent findings suggest that british Web security monitoring service Report URI, among the first to detect the activity, documented the tampering but remarked it could not determine how the attackers gained the ability to modify customer projects. "We don't know how the attacker got write access to so many unrelated customer projects: a compromised Optimizely system, a compromised credential with cross-customer access, or something else. That's for Optimizely to explain," Report URL founder Scott Helme wrote.
Report URI said it located and examined 1,611 unique Optimizely scripts. It found malicious code in 188 scripts associated with 178 organizations. The firm has published a list of the affected websites on its site, grouped by industry sector.
Sources indicate that optimizely itself has said little about the incident so far besides acknowledging it and pinning it somewhat vaguely to a vulnerability in the platform's Experimentation account sign-up flow. "We've fixed the vulnerability and removed the injected code from affected projects. We've also taken steps to secure affected user accounts and put additional protections in place to prevent unauthorized code from being delivered," the company said.
Related:It's a Bot World. We're Just Living in It.
In a follow-up statement to Dark Reading, Optimizely spokesperson identified these measures as including "blocking access to the vulnerable path, deploying a fix, removing the injected code from affected projects, ending active sessions, revoking tokens, and resetting access for affected user accounts." The tech giant has also implemented "additional protections to prevent malicious code from being delivered in Cloudflare. While the incident has been fully remediated, we are working with third-party experts on a comprehensive investigation," the statement read. Optimizely however, did not respond to a Dark Reading question on how a vulnerability in the account sign-up flow could have given an attacker write access to customer projects.
According to recent reports, "That’s the question every affected customer should be putting to Optimizely right now," says Justin Beals, CEO and founder of Strike Graph. "They need to know how a new account got write access to other tenants' projects, which project IDs were changed and when, and whether that path is fully closed.".
Until Optimizely explains the authorization failure, customers can't judge whether the company's reported fix addresses the cause or just the symptom, he says.
Related:AI Is Exposing Problems Security Has Lived With for Years.
The incident is a reminder that organizations need strict controls over third-party scripts running on their websites, Beals adds. Most organizations approve a third-party vendor script once during procurement and never revisit it later. Optimizely, for instance, passed whatever review the 178 affected companies ran, and the malicious code still shipped from Optimizely's own CDN under its own certificate.
It has been revealed that "The takeaway is that a vendor approval is a point-in-time decision, and the risk changes every time that vendor’s code changes," Beals says. "You can keep using these tools if you decide where they’re allowed to run.". (Related: Introducing AI Sheets: a tool to work with datasets usi...)
Tyler Reguly, associate director of security R&D at Fortra, notes incidents like these show why organizations implement a browser security feature called Subresource Integrity (SRI) to verify that externally hosted files, such as JavaScript, haven't been altered before they are loaded and executed.
"The problem that we have here is that you may include a file in your website that is safe for months or even years and then, unbeknownst to you, a breach occurs within your vendor and that 'file that's been safe forever' is suddenly no longer safe," Reguly indicates.
Recent findings suggest that SRI allows organizations to perform version pinning based on file hashes to protect against attacks like the one that went down at Optimizely. "The downside is that it requires a bit more effort and management to maintain your Web pages, which are often seen as 'set it and forget it' resources," Reguly adds.
Sources indicate that chris Nyhuis, CEO of Vigilant, says Optimizely demonstrates what happens when trust becomes an attack surface. "Organizations allowed a third party to deliver executable code into their customers' browsers, and that trust was exploited," he says.
It has been revealed that the answer isn't to eliminate third-party technology but to eliminate "blind trust," Nyhuis indicates. "Restrict where vendor scripts execute, limit their access to sensitive data, monitor their behavior and changes, and independently validate what they're doing.".
Furthermore, Optimizely also needs to explain how a flaw in an account sign-up process allowed an attacker to modify executable code belonging to 178 unrelated customers. "For that to happen, there had to be a path around customer authorization boundaries," he notes. "Whether that involved broken tenant isolation, privilege escalation, an authorization flaw, or access to an overly privileged service remains to be established by the forensic investigation.".
This article was updated at 1 p.m. ET on Nov. 18 to reflect a statement from Optimizely.
Illinois-based Jai Vijayan is a veteran, award-winning technology journalist with more than 25 years of experience covering cybersecurity. His information security reporting has explored everything from ransomware, nation-state threats, and identity security to AI risk, critical infrastructure protection, software supply chain security, cloud security and emerging enterprise technologies.
It has been revealed that over the course of his career, Jai has written news stories, feature articles, survey reports, white papers, and e-books for enterprise and technology audiences. He has also moderated panel discussions and executive roundtables featuring CISOs, security researchers, and industry leaders.
Industry observers note that jai previously served as senior editor at Computerworld, where he covered information security and data-privacy issues. His work has also appeared in CSO Online, InformationWeek, The Christian Science Monitor Passcode, The Economic Times, and other publications.
It has been revealed that his work has earned multiple industry honors, including a Joint ASBPE Excellence Award for Best Coverage of Government IT, and a Joint Jesse H. Neal Award for wireless LAN security coverage. Jai holds a Master’s degree in statistics from Bangalore University, and studied broadcasting and electronic communication at Marquette University in Milwaukee.
Check out the Black Hat USA 2026 Conference Guide for coverage and intel from — and about — the show!
Couldn’t make it to Las Vegas for Black Hat USA? We tracked the developments that matter most.
31 May – 2 June 2027 | Saudi Arabia.
Want more Dark Reading stories in your Google search results?
