A widespread cyberattack compromised code running on 178 organizations’ websites on November 16, potentially exposing visitors to malware designed to exploit iPhone and iPad security vulnerabilities.
The affected websites included major names such as Zoom, BBC, CNN, HSBC, Salesforce, and IKEA.
The attack exploited a vulnerability in Optimizely, a service companies use to test and personalize their websites, allowing malicious JavaScript to appear on otherwise legitimate pages.
That made the attack particularly concerning because visitors didn’t need to click a suspicious link or download an unfamiliar app to encounter the malicious code.
How Hackers Used Trusted Websites to Target Visitors
Attackers exploited a weakness in Optimizely’s account registration process to inject malicious JavaScript into customer projects.
When someone visited an affected website, the compromised code could load automatically.
The malicious scripts were designed to perform several activities, including:
- Stealing cryptocurrency: Replacing legitimate wallet addresses with addresses controlled by attackers.
- Capturing payment information: Intercepting credit card details entered on affected pages.
- Stealing browser cookies: Collecting information that could potentially expose active login sessions.
- Taking screenshots: Capturing information displayed on a visitor’s device.
The presence of malicious code doesn’t mean every visitor was compromised, but it created opportunities for attackers to target users through websites they already trusted.
Older iPhones Were Particularly Vulnerable
Researchers identified two exploit kits targeting different versions of Apple’s mobile operating system.
- Coruna: Targeted devices running iOS 13 through iOS 17.
- DarkSword: Targeted devices running iOS 18.
The attack also included code checking for devices running iOS 26, although researchers described that activity as device fingerprinting rather than confirmed exploitation.
Both exploit kits attempted to take advantage of known software vulnerabilities to compromise devices.
Which iOS Versions Are Protected?
According to the investigation, the following software versions include relevant protections:
| Software Version | Protection |
|---|---|
| iOS/iPadOS 17 and earlier | Vulnerable to the documented exploit chains |
| iOS/iPadOS 18.7.3 or later | Protected against the documented DarkSword exploits |
| iOS/iPadOS 26.3 or later | Protected against both known exploit kits |
| iOS/iPadOS 27 | Includes fixes for all known vulnerabilities used by both kits |
These protections apply to the known vulnerabilities used in this attack, not every possible security threat.
Researchers haven’t confirmed whether any iPhones or iPads were successfully compromised during the incident.
What iPhone and iPad Users Should Do
If you visited an affected website on November 16, especially using an older iPhone or iPad, installing the latest available software update is the most important precaution.
To check for updates:
- Open Settings.
- Tap General.
- Select Software Update.
- Install the latest update available for your device.
Optimizely says it has patched the vulnerability, removed the malicious code from affected customer projects, and notified impacted organizations.
The published investigation into the compromised websites also includes information about the affected properties.
For iPhone owners, the incident highlights an important security risk: even familiar, legitimate websites can become dangerous when attackers compromise the third-party services they rely on.