Cybersecurity researchers have uncovered a major cyberattack involving malicious JavaScript code distributed through a third-party website optimization platform called Optimizely.

According to a Reuters report, websites belonging to approximately 178 organizations were affected by malicious scripts, including popular brands and platforms such as Zoom, Salesforce, HSBC, Equifax, CNN and IKEA.

The malicious scripts were designed to steal sensitive information and redirect cryptocurrency payments to attackers' wallets.


How Did the Attack Work?


According to the investigation, attackers used compromised third-party JavaScript code to target visitors of affected websites.

The malicious scripts attempted to:

  1. Steal cryptocurrency: Replace legitimate cryptocurrency payment addresses with attackers' wallet addresses.
  2. Capture payment details: Collect credit card information entered by website visitors.
  3. Steal browser cookies: Obtain session information that could potentially help attackers access user accounts.
  4. Capture screenshots: Collect screenshots from targeted visitors.
  5. Target iPhones: Attempt to deploy exploit code against Apple iOS devices.

Researchers Scott Helme and cybersecurity firm HudsonRock identified evidence of malicious code being served through affected websites.


Companies Respond to the Incident


  • Salesforce: Investigated unauthorized changes to Optimizely scripts and disabled them as a precaution.
  • Equifax: Investigated the incident and stopped using Optimizely, reporting no evidence that its systems were compromised.
  • Other affected organizations: Reuters reported that several companies had not immediately responded to its requests for comment.


Why Is This Cyberattack Important?


This incident highlights the risks associated with third-party scripts and external software integrations.

Even when a company's main website is secure, attackers may exploit trusted third-party services to inject malicious code into websites.

This type of attack is particularly dangerous because visitors may trust legitimate websites without realizing that malicious scripts are running in the background.


How Can Organizations Protect Themselves?


  • Regularly audit third-party JavaScript libraries.
  • Implement Content Security Policy (CSP).
  • Use Subresource Integrity (SRI) where applicable.
  • Monitor unauthorized website script modifications.
  • Secure payment processing systems.
  • Implement strong endpoint and browser security.
  • Regularly review third-party vendor permissions.