On November 16, 2026, visitors to some very well-known websites were served malicious JavaScript. The sites themselves had not been hacked. The code arrived through Optimizely, a service many companies use to run A/B tests. Security researcher Scott Helme of Report URI found it in 188 of the 1,611 Optimizely scripts his team checked, and those scripts belonged to 178 organizations.

Most of us do not run a site that size, but almost every site loads scripts from someone else: analytics, chat widgets, tag managers, review badges, ad pixels. This is a good week to look at what yours are doing.

What happened

Optimizely says an unauthorized party used a flaw in the account signup flow of its Web Experimentation product to add malicious JavaScript to some customer projects. Customers of that product load a small snippet from Optimizely's CDN, and the snippet includes an optional "Project JavaScript" field for custom code. The attacker put their code there and left the rest of the snippet alone. So the script still came from the vendor's own domain with a valid certificate, which is why it looked normal.

Optimizely reports that it blocked the vulnerable path, deployed a fix, removed the injected code, ended active sessions, revoked tokens, reset access for affected accounts and notified the customers involved. A full investigation is still under way, so some details may change.

Public reporting describes code that loaded a second script. That script could swap cryptocurrency wallet addresses on a page, and some coverage also mentions payment data. Researchers also note that counts and timelines differ a little between sources, which is normal this early.

Why this matters for a small site

The lesson is simple: a site can be fully updated and still show visitors something harmful, because a vendor it trusts was changed. A chat widget or tag manager runs on every page, including your checkout. That makes each one worth a few minutes of care.

1. List every third-party script

What to do: Open your site, open the browser developer tools, go to the Network tab and filter by JS. Note every domain that is not yours. Then check where scripts can be added without touching code: your tag manager, theme settings, header and footer plugins. Write a short list with the name, the owner and the reason it is there.

2. Remove what you no longer use

What to do: Old A/B tests, a chat tool you stopped using, a pixel from a trial. If nobody can explain why a script is there, take it out. Every script you remove is one less door.

3. Lock down the vendor accounts

What to do: Turn on two-step login for every vendor account that can edit scripts. Remove people who have left, including old agencies. Rotate API tokens, and look at who can edit custom code fields. Helme's own advice for site owners follows the same pattern: review custom code, check users, tokens and integrations, and rotate credentials.

4. Add a Content Security Policy, and make it tight

A Content Security Policy (CSP) tells the browser which domains may load scripts and where a page may send data. Helme's team looked at 159 affected organizations. Sixty-eight had no policy at all. Fifty had a policy loose enough that the code still ran and sent data out. Seventeen let the code run but blocked it from sending data, and 24 blocked it fully.

What to do: Start with the Content-Security-Policy-Report-Only header, watch the reports for a week or two, then switch to enforcing. Limit where data can go (connect-src), not only where scripts can load from. Also know that a CSP is a layer, not a cure. Some reporting points out that a common setting called strict-dynamic can allow code that a trusted script adds, so a policy alone would not have stopped everything here.

5. Keep an eye on changes

What to do: Put a monthly reminder in your calendar to repeat step 1 and compare against your list. Pay extra attention to checkout and login pages. Monitoring services that watch which scripts load on your pages can also help if you have a busy store.

If you use Optimizely

Check the Project JavaScript field and your experiments for code you did not write. Search your logs for the loader domain named in public reporting (1688360[.]cc), reset passwords and tokens for your Optimizely accounts, and follow the incident page from Optimizely for updates.

A wider pattern

Supply chain problems are showing up in more places. On November 22, someone pushed backdoored releases of six WP connect plugins to WordPress.org, with roughly 3,600 active installs between them. WordPress.org safeguards held those releases back before they reached sites, according to Wordfence. That is encouraging, and it is a reminder that the habit of knowing what runs on your site matters more than any single tool.

Quick checklist

  • List every outside script your site loads
  • Remove the ones nobody uses
  • Two-step login on every vendor account
  • Rotate tokens and remove old users
  • Try a CSP in report-only mode, then enforce it
  • Review the list once a month

The good news is that none of this is complicated. An hour spent on a list and a few settings puts you ahead of most sites. If you would like help with a script review or ongoing site care, you can find me at expertwebdeveloper.in and growsmartwithai.com.

Sources