Optimizely serves JavaScript “snippets” that include both company code and code that is provided by each customer. The JavaScript, which can be served directly from Optimizely or from a customer endpoint, runs on every page the customer serves. Somehow, the attackers wrote their own code into a portion of each affected customer’s JavaScript and then delivered it from cdn.optimizely.com. A valid certificate for that domain signed the JavaScript.
Hundreds of websites deliver potent malware cocktail to unsuspecting visitors
Malware cocktail delivers cryptocurrency theft payloads and iOS exploits, among other things.

Key takeaways
Attackers injected malicious code into Optimizely's JavaScript, delivering malware to website visitors.
- Malicious code was injected into customer JavaScript via Optimizely's infrastructure.
- The attack used a valid certificate to serve tainted code from cdn.optimizely.com.
- The method did not involve CDN cache poisoning, but used legitimate infrastructure.
Summarised automatically by AI from the original article by Ars Technica. AI can make mistakes, so check the original for details.
Story details
- Published
- By
- Dan Goodin
- Format
- Article
- Original
- arstechnica.com ↗









