Optimizely Vulnerability Enables Malware Injection Across 178 Major Websites

A security incident at Optimizely allowed attackers to inject malicious JavaScript into customer projects, affecting at least 178 high-profile websites including BBC, CNN, Equifax, Ledger and Zoom. The payload, rebuilt 26 times on November 16, delivered a multi-purpose malware kit capable of stealing payment card data, cookies, screenshots and cryptocurrency addresses while also deploying zero-click exploits named DarkSword and Coruna against older Apple iOS devices. The attack succeeded because many sites embed third-party scripts without strict Content Security Policies, allowing the malicious code to execute immediately on page load. Optimizely stated it identified the breach, contained it, removed injected code, revoked tokens and deployed fixes including additional Cloudflare protections. Researchers emphasize that trusted third-party JavaScript remains a persistent supply-chain risk when CSP controls are absent or overly permissive. Only 15 percent of affected sites had CSP rules that fully blocked the malicious payload.

Krebs on SecurityTranslated from English

Read at source

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 Optimizely, 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 BBC, CNN, Equifax, Ledger and Zoom, was exacerbated by the reality that few popular websites enforce strict rules on the sources of third-party content.

According to a blog post from the security firm Report URI, on November 16 malicious JavaScript code was served to visitors of 178 organizations through Optimizely’s platform. Report URI researcher Scott Helme 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’s.

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 “DarkSword” and “Coruna,” these are zero-click exploit kits that chain together a half-dozen security holes to seize complete control over outdated devices and extract data.

Contacted for comment, Optimizely said that on November 16 it “identified a security incident in which an unauthorized party exploited a vulnerability in the Optimizely Experimentation to add malicious JavaScript to some customer projects.” The company added that it acted swiftly to contain the incident, blocked the vulnerable path, deployed a fix, removed injected code, ended active sessions, revoked tokens, reset access and implemented additional protections in Cloudflare.

Many top web properties no longer fully display content unless visitors agree to let often dozens of third parties serve JavaScript. 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 2025 Web Almanac by HTTP Archive, the median homepage loads at least 22 JavaScript files.

Zach Edwards, researcher at Infoblox and co-founder of DecryptAds, noted that Optimizely code is typically embedded near the top of the page to support A/B testing and therefore fires immediately on page load without waiting for consent dialogs. This design meant the supply-chain attack required no user interaction.

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 “Content Security Policies” or CSPs, which specify the domain names that are allowed to serve third-party content. According to Report URI, 68 of the sites had no CSP at all, while 50 had a CSP that still allowed the malware payload. Only 24 of the affected sites (15 percent) had CSPs that fully blocked the malicious payload.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Supply Chain & OSS

StepSecurity Raises $20 Million Series A to Strengthen Software Supply Chain Defenses
Microsoft Agent Framework PyPI Package Compromised with Credential-Stealing Malware
Malicious Microsoft Agent Framework Releases on PyPI Steal Cloud and CI/CD Credentials