{"id":26334,"date":"2026-11-19T18:00:11","date_gmt":"2026-11-20T02:00:11","guid":{"rendered":"https:\/\/www.palada.net\/index.php\/2026\/11\/19\/attackers-used-optimizely-to-a-b-test-malware-on-top-websites\/"},"modified":"2026-11-19T18:00:11","modified_gmt":"2026-11-20T02:00:11","slug":"attackers-used-optimizely-to-a-b-test-malware-on-top-websites","status":"publish","type":"post","link":"https:\/\/www.palada.net\/index.php\/2026\/11\/19\/attackers-used-optimizely-to-a-b-test-malware-on-top-websites\/","title":{"rendered":"Attackers Used Optimizely to A\/B Test Malware on Top Websites"},"content":{"rendered":"<p>At least 178 top web destinations unwittingly served a variety of malware exploits against visitors over the past 24 hours thanks to a security vulnerability involving <strong>Optimizely<\/strong>, a company that helps websites customize user experiences and test out new features. Experts say the incident, which saw data-stealing malicious software silently injected into sites like the <strong>BBC<\/strong>, <strong>CNN<\/strong>,\u00a0<strong>Equifax<\/strong>, <strong>Ledger<\/strong> and <strong>Zoom<\/strong>, was exacerbated by the reality that few popular websites enforce strict rules on the sources of third-party content.<\/p>\n<div class=\"wp-caption aligncenter\" id=\"attachment_74676\" style=\"width: 760px;\"><a href=\"https:\/\/krebsonsecurity.com\/wp-content\/uploads\/2026\/11\/zoom-reporturi.png\" rel=\"noopener\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"wp-image-74676\" height=\"492\" src=\"https:\/\/krebsonsecurity.com\/wp-content\/uploads\/2026\/11\/zoom-reporturi.png\" width=\"750\"\/><\/a><\/p>\n<p class=\"wp-caption-text\" id=\"caption-attachment-74676\">The Zoom.com homepage loading the malicious JavaScript file from Optimizely. Image: blog.report-uri.com. Click to enlarge.<\/p>\n<\/div>\n<p>According to a blog post from the security firm <strong>Report URI<\/strong>, on November 16 malicious JavaScript code was served to visitors of 178 organizations through Optimizely\u2019s platform. Report URI researcher <strong>Scott Helme<\/strong> wrote that the payload delivered by the malicious Javascript was rebuilt 26 times during the day, dropping a multi-purpose malware kit that could steal payment card data, cookies and screenshots, and swap any cryptocurrency payment addresses for the attacker\u2019s.<\/p>\n<p>Helme noted the affected websites also served exploit code custom made to attack known vulnerabilities in older Apple iPhone and iPad devices. Known by such names as \u201c<strong>DarkSword<\/strong>\u201d and \u201c<strong>Coruna<\/strong>,\u201d these are zero-click exploit kits that chain together a half-dozen security holes to seize complete control over outdated devices and extract data.<\/p>\n<p>\u201cThe important lesson here is that trusted JavaScript doesn\u2019t always remain trustworthy,\u201d Helme <a href=\"https:\/\/blog.report-uri.com\/worlds-largest-brands-infected-with-malware-via-optimizely\/\" rel=\"noopener\" target=\"_blank\">wrote<\/a>. \u201cA website can be compromised through a third-party dependency without its own code or infrastructure ever being breached.\u201d<\/p>\n<p>Contacted for comment, Optimizely said that on November 16, 2026 it \u201cidentified a security incident in which an unauthorized party exploited a vulnerability in the Optimizely Experimentation to add malicious JavaScript to some customer projects.\u201d<\/p>\n<p>\u201cWe acted swiftly to contain the incident and have fully remediated the identified vulnerability,\u201d reads a written statement shared by Optimizely. \u201cThese measures included 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. We have 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.\u201d<\/p>\n<p>Many top web properties no longer fully display content unless visitors agree to let often dozens of third parties serve JavaScript, a powerful web scripting language that enables interactive content. JavaScript code is run on the user\u2019s device, and it can read information displayed in the user\u2019s browser and even modify a website\u2019s appearance or content.<\/p>\n<p>One reason JavaScript is so heavily used is that it enables fairly precise browser fingerprinting and other ways of tracking visitors and clicks. According to the <a href=\"https:\/\/almanac.httparchive.org\/en\/2025\/table-of-contents\" rel=\"noopener\" target=\"_blank\">2025 Web Almanac<\/a> by HTTP Archive, the median homepage loads at least 22 JavaScript files. But as the incident with Optimizely shows, a compromise at a third-party vendor\u2019s website can quickly snowball into a supply chain attack against downstream websites that end up serving visitors tampered and malicious JavaScript files.<\/p>\n<p><strong>Zach Edwards<\/strong> is a researcher at <strong>Infoblox<\/strong> and the co-founder of the ad-tracking service <strong>DecryptAds<\/strong>. Edwards said Optimizely is a vendor which often collects data outside of consent flows, with their JavaScript snippets being embedded as close to the top of the page as possible to ensure that it\u2019s one of the first things to render, which is important since the product is primarily built for A\/B testing.<\/p>\n<p>\u201cSo to make the product work as expected, this code is setup to fire immediately on-page load, and not restrict rendering behind a consent dialog box,\u201d he said. \u201cThis means that this supply chain attack didn\u2019t require any clicking or consent to trigger \u2014 most of the impacted clients would immediately serve up the payload as soon as someone loaded the page, further increasing risks from this type of JavaScript snippet being compromised.\u201d<\/p>\n<p>Websites can minimize the chances that a breach at a third-party content provider spirals into a supply chain attack by taking full advantage of \u201c<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Guides\/CSP\" rel=\"noopener\" target=\"_blank\">Content Security Policies<\/a>\u201d or CSPs, which specify the domain names that are allowed to serve third-party content. But Edwards said most websites \u2014 apart from perhaps the largest e-commerce, social media and financial platforms \u2014 don\u2019t even bother with CSPs, or else tend to leave them overly permissive for marketing reasons.<\/p>\n<p>\u201cWith literally all websites which embed 3rd party JavaScript resources, if you don\u2019t have a content security policy then if any of those partners get compromised, new domains can be injected into your website via JavaScript which won\u2019t be stopped,\u201d he said. \u201cWe\u2019re in the age of JavaScript supply chain attacks and yet almost no one is talking about why content security policies were invented and how this is largely the solution for operators, even though it\u2019s not always simple to get it initially deployed.\u201d<span id=\"more-74672\"><\/span><\/p>\n<p>How broadly deployed were CSPs at the websites impacted by the Optimizely attack? According to Report URI, 68 of the sites had no CSP at all, while 50 of them had a CSP that still allowed the malware payload <em>and<\/em> the data theft. The company found only 24 of the affected sites (15 percent) had CSPs that fully blocked the malicious payload.<\/p>\n<div class=\"wp-caption aligncenter\" id=\"attachment_74675\" style=\"width: 792px;\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"size-full wp-image-74675\" height=\"628\" src=\"https:\/\/krebsonsecurity.com\/wp-content\/uploads\/2026\/11\/report-uri-csps.png\" width=\"782\"\/><\/p>\n<p class=\"wp-caption-text\" id=\"caption-attachment-74675\">Image: blog.report-uri.com.<\/p>\n<\/div>\n<p>The overall deployment of CSPs across the Web\u2019s busiest sites is somewhat lower \u2014 about 10 percent \u2014 according to Helme\u2019s site <strong>crawler.ninja<\/strong>, which scans the top million websites daily for security issues. Helme said he hopes this incident will encourage more sites to adopt effective CSPs, noting that it could have been far worse: By Report URI\u2019s estimates, the purveyors of this malware attack managed to steal only around $7,500 worth of virtual currency from affected users, as well as an unknown number of payment card records.<\/p>\n<p>Helme said he often compares the current widespread lack of CSPs to the Wild West.<\/p>\n<p>\u201cOrganizations are running all this code, but they don\u2019t know what it\u2019s doing,\u201d Helme said in an interview with KrebsOnSecurity. \u201cThis is why we keep seeing such large scale breaches in places [where] there are no checks and rules in place on the code we\u2019re running, so this was kind of inevitable. Once an attacker gets to the point of running code on your site, the question is what do they want to do with that and can they write the script to do it. Now with AI that\u2019s not a problem anymore.\u201d<\/p>\n<p>Internet users can control the JavaScript elements allowed to run on webpages by using simple script-blocking plugins like NoScript. But these tools have always only been effective for diehard security and privacy nerds who are willing to put up with sifting through dozens of JavaScript requests on each new website.<\/p>\n<p>Happily, modern ad blocking software can handily block most third-party JavaScript requests. Ten years ago, the standard security advice for end users was to install antivirus and enable a firewall. These days, your ad\/script blocker <em>is<\/em> your firewall. We explored several options and approaches to blocking ads in our August 2026 story, <a href=\"https:\/\/krebsonsecurity.com\/2026\/08\/whos-tracking-you-use-this-new-service-to-find-out\/\" rel=\"noopener\" target=\"_blank\">Who\u2019s Tracking You?<\/a><\/p>\n<p><strong>Update, Nov. 18, 7:06 a.m.:<\/strong> Optimizely has published <a href=\"https:\/\/pages.optimizely.com\/rs\/947-RKE-048\/images\/Security%20Incident%20Report%20-%20Optimizely%20Web%20Experimentation%20-%20Nov%2017%202026.pdf\" rel=\"noopener\" target=\"_blank\">a report<\/a> (PDF) on its initial findings about the attack.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At least 178 top web destinations unwittingly served a variety of malware exploits against visitors over the past 24 hours thanks to a security vulnerability involvingOptimizely, a company that helps websites customize user experiences and test out new features. Experts say the incident, which saw data-stealing malicious software silently injected into sites like theBBC,CNN,Equifax,LedgerandZoom, was exacerbated by the reality that few popular websites enforce strict rules on the sources of thir<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[10642],"tags":[],"class_list":["post-26334","post","type-post","status-publish","format-standard","hentry","category-krebs"],"_links":{"self":[{"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/posts\/26334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/comments?post=26334"}],"version-history":[{"count":0,"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/posts\/26334\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/media?parent=26334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/categories?post=26334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/tags?post=26334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}