Skip to main content

How to protect your business website from third-party script vulnerabilities

A flaw in Optimizely let hackers plant malicious code on 178 sites, stealing credit card info and crypto addresses. Here is how you can protect your business website from third-party script vulnerabilities and what to do if your site was compromised.

By Business Owner Admin
An out-of-focus person secures a padlock around network cables in a softly lit server room.

Last verified: November 18, 2026.

The short answer

Hackers exploited a flaw in Optimizely to plant malicious JavaScript on 178 websites, including Zoom, CNN, IKEA, HSBC and Salesforce, according to Entrepreneur. The attack swapped crypto wallet addresses during checkout and skimmed card numbers typed into forms. You need to audit your third-party scripts immediately and verify your payment integrations to keep your customers safe.

What happened with the Optimizely attack

I talk to business owners who rely on tools like Optimizely to test changes on their sites. It seems convenient until it isn't. Hackers got in through a flaw in that platform and planted rogue code on 178 websites. They served malicious JavaScript to visitors on November 16. The code tried to swap crypto wallet addresses with the attacker's address during checkout and skimmed card numbers typed into forms. Security researcher Scott Helme of Report URI uncovered the campaign. About $7,040 has reached the attacker's wallets so far. Optimizely says it has fixed the vulnerability and removed the code from its platform after researchers found the issue.

My experience with relying on others' systems

In 2005 I built my first website. Month one made a little over $3,000. Month two made $106,000 on a little over $20,000 in ad spend. The model was buying ads from Google and selling clicks back. Google shut it down, and I was still on the hook for ad spend they later called fraudulent. It never goes the way I think. When you rely on someone else's platform to run your business, you are trusting them with your livelihood. You have to assume that system could change or break overnight. That is why you need to own your infrastructure and verify what is running on your pages.

How to protect your business website from third-party script vulnerabilities

You know what fixes this? Systems and verification. You cannot just trust a tool because it is popular. Here is how you protect your business website from third-party script vulnerabilities.

  • Audit your integrations. List every third-party script running on your site. If you are not using it, cut it loose.
  • Verify payment flows. Check your checkout process regularly. Make sure the crypto wallet addresses and bank details match what you expect. Hackers can swap these in real time.
  • Update your devices. iOS 18.7.3 or later and iOS 26.3 or later protect devices from the attack's malware. Keep your operating systems current to block malicious payloads.
  • Monitor your statements. Review payment processor statements daily for unauthorized charges. If you see something off, act fast.

Steps to take if your site was compromised

If your site was compromised, you need to move quickly.

  • Isolate the issue. Take the affected page offline immediately if you can. Do not let more customers get hit.
  • Notify your payment processor. Tell them what happened so they can monitor for fraud and help with chargebacks.
  • Patch the vulnerability. Work with your developer or platform to remove the rogue code and secure the entry point.
  • Warn your customers. Be honest about what happened. You want to protect their data and keep their trust.

Frequently asked questions

What is Optimizely?

Optimizely is a tool many big brands use to test changes to their sites. Hackers exploited a flaw in it to plant malicious JavaScript on major websites.

How much money was stolen?

About $7,040 has reached the attacker's wallets so far through the crypto wallet address swaps.

Is Optimizely safe now?

Optimizely says it has fixed the vulnerability and removed the code from its platform after researchers uncovered the attack.

What data was at risk?

The attack attempted to steal credit card numbers typed into checkout forms and swap cryptocurrency wallet addresses with the attacker's address.

How did hackers get in?

Hackers planted rogue code on 178 websites through a vulnerability in Optimizely's platform, serving malicious JavaScript to visitors on November 16.

Sources

Ready to find out?

Get your Transferability Score

Free 14-question assessment. See where your business stands and what's holding it back from a clean exit.

Take the Free Score