On November 16, 2026, an attacker exploited a vulnerability in Optimizely, a third-party experimentation platform, to add malicious JavaScript to customer projects. Salesforce is investigating unauthorized modifications to scripts provided by Optimizely and used on certain Salesforce websites. The modified scripts could load malicious code in visitors’ browsers. As a precaution, Salesforce disabled Optimizely scripts across preview and production instances. We have no evidence that this incident impacted Salesforce-platform or subscription services. We continue to investigate and will notify any affected customers.
This post explains what happened, how it affects Salesforce and our customers, what we’ve done, and what you can do now.
Overview
On Monday, November 16, 2026 security researcher Scott Helm reported finding 188 compromised Optimizely JavaScript files across 178 organizations, including Salesforce. On November 17, Optimizely confirmed that an unauthorized party had exploited a vulnerability in its Experimentation product, reportedly through the account signup flow, and added malicious code to some customer projects.
The code was inserted into the Project JavaScript field, a custom-code area that runs on every page. Because the files were still served from Optimizely’s trusted content delivery network, they appeared legitimate to browsers and many security tools. Optimizely states that the vulnerability is closed and the injected code has been removed.
The exposure window was approximately 04:00 to 21:00 UTC on November 16.
Impact on Salesforce
The affected content was a malicious third-party script on Salesforce web properties. We have no evidence that this incident impacted Salesforce-platform or subscription services.
What we have done:
- Salesforce has disabled Optimizely scripts on Salesforce sites (feature flag, page configuration or code removal). These will stay off until Optimizely’s remediation is verified, with no timeline to re-enable.
- Salesforce is following its vulnerability response processes and actively monitoring for malicious activity.
- We are investigating to understand the full impact of Optimizely’s compromise and will notify affected customers if we identify unauthorized access to their data.
- We will continue to provide material updates through Salesforce Trust.
What you should do now
If you build or host web applications on Salesforce platforms – your sites and applications are affected only if your own team embedded Optimizely Web Experimentation scripts in them.
Recommended actions for Salesforce admins:
- Audit third-party scripts. Check your Experience Cloud sites, Commerce Cloud storefronts, and Marketing Cloud landing pages for Optimizely snippets.
- Review browser activity. If a customer-facing site used an affected Optimizely project on November 16, review your available application logs and monitor for payment-form tampering and unusual session activity, such as logins or token use from unfamiliar locations.
Additional Resources
- World’s Largest Brands Infected With Malware Via Optimizely
- OPTIMJACK: Optimizely-Hosted Scripts Loaded a Crypto Clipper and Card Skimmer on 178 Organizations
- Optimizely Web Experimentation Security Incident
Security Resources
Curious about more ways to bolster the security of your Salesforce org? Check out our guide for additional guidance and resources


