Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Optimizely Vulnerability Exploited to Inject Malicious Code into Customer Projects

An attacker exploited a vulnerability in Optimizely to inject malicious JavaScript into customer projects, affecting 178 organizations including Salesforce, which has since disabled Optimizely scripts as a precaution.

Share
AI-generated conceptual illustration accompanying: Optimizely Vulnerability Exploited to Inject Malicious Code into Customer Projects
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Exploitation and Discovery of the Vulnerability

On November 16, 2026, an attacker exploited a vulnerability in Optimizely, a third-party experimentation platform, to add malicious JavaScript to customer projects. 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. These findings highlight the critical importance of continuous monitoring and secure authentication mechanisms in third-party platforms.

Impact and Mitigation Measures

Salesforce is investigating unauthorized modifications to scripts provided by Optimizely and used on certain Salesforce websites, as reported by the company. As a precaution, Salesforce has disabled Optimizely scripts across preview and production instances. These scripts will remain disabled until Optimizely’s remediation efforts are verified, though no timeline for re-enabling them has been provided. The incident highlights the risks associated with third-party supply chain dependencies and underscores the importance of continuous monitoring and verification of external code. Salesforce has not indicated any confirmed security breaches or data compromises at this time, but the situation remains under active review.

Nature of the Compromise and Code Injection

The compromise involved the injection of malicious code into Optimizely’s software delivery system, which was then distributed to customers via the company’s trusted content delivery network, as noted by the publisher of Salesforce. This made the compromised files appear legitimate to browsers and many security tools, increasing the risk of undetected exploitation. According to Salesforce, Optimizely has confirmed that the vulnerability has been resolved and the injected code has been removed. The exposure window for this compromise was limited to approximately 04:00 to 21:00 UTC on November 16, as stated in Salesforce. While the exact nature of the injected code and its potential impact remain unspecified, the incident highlights the importance of continuous monitoring and rapid response in supply chain security.

Salesforce's Response and Ongoing Actions

Salesforce has taken immediate steps to address the Optimizely “OPTIMJACK” supply chain compromise. The company has disabled Optimizely scripts across its sites, including through feature flags, page configurations, or direct code removal, as stated in its response. Salesforce is also following its established vulnerability response processes and actively monitoring for any malicious activity. Additionally, the company is conducting an investigation to determine the full impact of the compromise. If unauthorized access to customer data is identified, Salesforce has committed to notifying affected customers accordingly. These actions reflect Salesforce’s ongoing efforts to ensure the security of its platforms and the data of its users.

Recommendations for Salesforce Admins

For Salesforce admins, immediate action is essential following the Optimizely “OPTIMJACK” supply chain compromise. If your organization builds or hosts web applications on Salesforce platforms, your systems are affected only if your team embedded Optimizely Web Experimentation scripts directly into them. As a first step, audit all third-party scripts currently in use to identify any potential exposure. According to Salesforce, this audit is a critical action for mitigating risk. Additionally, if your customer-facing site used an affected Optimizely project on November 16, review your application logs for signs of payment-form tampering or unusual session activity, such as logins or token use from unfamiliar locations, as advised in Salesforce. These steps are recommended to help identify and respond to any potential security incidents promptly.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more