The Optimizely Breach: How to Clear Your Browser Cache on Every Device

On November 15 and 16 about 180 large websites, including CNN, BBC and Zoom, ran an attacker's code after Optimizely was broken into. Here is what the code did and the exact steps to clear your browser cache on iPhone, Android, Chrome, Edge, Firefox and Safari.

Keith Parker
2026-11-17
6 minute read
A laptop on a desk, with the headline 180 websites ran an attacker's code. Clear your cache.

About 180 big websites ran an attacker's code for most of a day. Here's what it did and the ten minutes of cleanup to do on your own phone and laptop.

If you read CNN or the BBC on Monday, or opened Zoom's website, your browser ran code that somebody else put there.

On Sunday night, November 15, someone broke into Optimizely. Optimizely makes a testing tool that about 180 large websites load on every page, and the attacker added their own code to it. From about 8 PM Pacific on Sunday until Optimizely pulled it out on Monday afternoon, anyone who opened one of those sites ran that code. CNN, BBC, Zoom, Salesforce and Mint Mobile were on the list.

Most people need about ten minutes of cleanup. Here's what the code did, then the steps.

What the code did

It ran inside the web page that loaded it. Nothing was installed on the computer. While the page was open it did four things, according to StepSecurity's analysis of the code:

  • Copied card numbers typed into a payment form on the page.
  • Swapped cryptocurrency wallet addresses, so a payment went to the attacker.
  • Sent a screenshot of the page and some of its cookies to the attacker when it swapped an address.
  • Tried to break into iPhones and iPads running iOS 18.6 or older.

The iPhone one is the only part that gets outside the web page. Researchers saw the attack pages being served to iPhones. Nobody has shown yet that a phone was actually broken into.

Clear your browser cache

The cache is where a browser keeps copies of the pages and scripts it has loaded. Clearing it deletes any copy of the attacker's code that got saved. Do it in every browser you use, on every phone, tablet and computer.

You're only clearing cached files. Your saved passwords, bookmarks and history stay, and you stay signed in to your sites. The one exception is Safari on an iPhone or iPad, which signs you out of websites when it clears.

iPhone or iPad: Safari

  1. Open the Settings app.
  2. Tap Apps, then tap Safari. If you don't see Apps, scroll down the main Settings list and tap Safari.
  3. Scroll to the bottom and tap Advanced.
  4. Tap Website Data.
  5. Tap Remove All Website Data, then tap Remove Now.

iPhone or iPad: Chrome

  1. Open Chrome.
  2. Tap the three dots (More), then tap Delete Browsing Data.
  3. Tap Time Range and choose All Time.
  4. Tap Browsing Data. Turn on Cached Images and Files, turn everything else off, then tap Confirm.
  5. Tap Delete Browsing Data.

Android: Chrome

  1. Open Chrome.
  2. Tap the three dots to the right of the address bar, then tap Delete browsing data.
  3. Tap More options.
  4. Set the time range to All time.
  5. Check Cached images and files and uncheck everything else.
  6. Tap Delete data.

On a Samsung phone using Samsung Internet, tap the menu button, then Settings, then Personal browsing data, then Delete browsing data. Check Cached images and files only, tap Delete data, then tap Delete.

Windows or Mac: Chrome

  1. Open Chrome and press Ctrl+Shift+Delete on Windows or Command+Shift+Delete on a Mac.
  2. Set Time range to All time.
  3. Check Cached images and files and uncheck everything else.
  4. Click Delete data.

If you use more than one Chrome profile, work and personal for example, do it in each one.

Windows or Mac: Edge

  1. Open Edge and press Ctrl+Shift+Delete on Windows or Command+Shift+Delete on a Mac.
  2. Set Time range to All time.
  3. Check Cached images and files and uncheck everything else.
  4. Click Clear now.

Windows or Mac: Firefox

  1. Open Firefox and press Ctrl+Shift+Delete on Windows or Command+Shift+Delete on a Mac.
  2. Next to When, choose Everything.
  3. Check Temporary cached files and pages and uncheck everything else.
  4. Click Clear.

Mac: Safari

  1. Open Safari.
  2. In the menu bar at the top of the screen, click Safari, then Settings.
  3. Click Advanced and check "Show features for web developers", then close the Settings window.
  4. Click the new Develop menu in the menu bar, then click Empty Caches.

Update your iPhone and iPad

The iPhone attack was aimed at iOS 18.6 and older. Apple's current updates are past the fix, so install the latest one your device offers.

  1. Plug the device in to power and connect it to Wi-Fi.
  2. Open Settings, tap General, then tap Software Update.
  3. If an update is listed, tap Update Now and follow the prompts.
  4. When it's done, check the version number on the same screen. As of November 17, 2026 it should be 27.2.1, 26.7.3 or 18.7.12.

If your phone shows a lower number and offers no update, it's too old to get the fix. That's worth a conversation with whoever looks after your IT.

If you typed a card number

If you paid for something on one of the affected sites between Sunday evening and Monday afternoon, Pacific time, call your bank and ask for a new card. Clearing the cache doesn't help with a number that has already been copied.

Questions we're getting

Do I need to change my passwords? For most people, no. Nothing in the published analysis shows it recording passwords, and the cookie copying only happened on pages where it swapped a crypto wallet address. If you were signed in to a site that holds cryptocurrency on those two days, sign out of it, sign back in and change that password.

Was my computer infected? No. The code ran in the page and stopped when the page closed. Nothing was installed.

How do I know if a site I visited was affected? You won't remember every site you opened, and you don't need to. Clearing the cache takes two minutes per browser. If you were on large news, shopping or work sites that Sunday night or Monday, do it.

Is it safe to use those sites now? Optimizely removed the code on Monday and says it has closed the hole the attacker used.

What I'd take from this as a business owner

None of those 180 companies were broken into. They loaded a script from a vendor they trusted, which is what almost every website does, and the vendor got broken into. You can't fix that from your side of the screen.

The part you control is how fast you find out. Two things matter when something like this happens: being able to check every computer in a morning, and being able to block an address on every network in a few minutes. If your IT provider couldn't tell you by Tuesday which of your computers had loaded that script, ask them why.

Want to know where your own company stands? Our free security scan takes a few minutes, or get in touch and I'll show you what we look at.

Keith Parker is the CEO of Methodology IT, a managed IT services provider in Los Angeles that has supported healthcare practices, nonprofits, and growing businesses across Southern California since 1997.

Sources: StepSecurity: OPTIMJACK analysis · Apple security releases · Apple: clear Safari website data on iPhone · Google: delete browsing data in Chrome · Microsoft: delete browsing data in Edge · Mozilla: clear the Firefox cache

Ready when you are

Ready to make IT work?

No pressure, no sales pitch. A senior tech will walk your environment with you and leave you with a report, whether you hire us or not.

Keith Parker
By Keith Parker · Founder & CEO, Methodology IT · UCLA Computer Engineering
Keith Parker
About the author
Keith Parker
Founder & CEO, Methodology IT · Los Angeles

Keith Parker founded Methodology IT in 1997 and has run IT and security for Los Angeles medical practices, law firms, nonprofits and entertainment companies ever since. He holds a degree in computer engineering from UCLA and serves as a CIS instructor at Los Angeles Southwest College (LASC). After years of coaching youth softball and baseball, he now teaches a CIS class and runs a technology and entrepreneurship club at a Los Angeles high school serving underrepresented communities. He also builds the AI tools his team and clients use every day, writes a weekly newsletter on using AI safely at work, and was featured in MSP Success magazine for helping businesses through the 2025 SoCal wildfires.

Keith Parker
By Keith Parker · Founder & CEO, Methodology IT · UCLA Computer Engineering
Keith Parker
About the author
Keith Parker
Founder & CEO, Methodology IT · Los Angeles

Keith Parker founded Methodology IT in 1997 and has run IT and security for Los Angeles medical practices, law firms, nonprofits and entertainment companies ever since. He holds a degree in computer engineering from UCLA and serves as a CIS instructor at Los Angeles Southwest College (LASC). After years of coaching youth softball and baseball, he now teaches a CIS class and runs a technology and entrepreneurship club at a Los Angeles high school serving underrepresented communities. He also builds the AI tools his team and clients use every day, writes a weekly newsletter on using AI safely at work, and was featured in MSP Success magazine for helping businesses through the 2025 SoCal wildfires.

  • Physical Security
  • IT Compliance
  • Custom Software
  • IT Consulting
  • Backup & Disaster Recovery
  • Incident Response
  • Websites & AI Agents
  • ·Burbank·Glendale·San Fernando Valley·Pasadena·Santa Clarita·Hollywood·Inglewood·South Bay·West LA
    CRN AI Innovators 2026