Annoying iOS web attack will forcibly restart your iPhone, but not much else

The code can't do anything malicious, but mischievous hackers could use it to troll iOS users.
 By 
Jake Krol
 on 
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

The latest iOS hack won't steal your data, but it will annoy you.

Fifteen short lines of code on a webpage can restart your iPhone or iPad. Alternatively, visiting it on a Mac can cause the Safari window to freeze.

As reported by TechCrunch, this exploit can easily be transmitted and sent to unsuspecting iOS users. Since it's a short snippet of code, it can hide on almost any webpage. It will restart your device by actually enabling a fail-safe that is built into iOS.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

The code tries to use all available resources, which results in a kernel panic. In response, the iPhone will then power cycle off and power cycle on to prevent any damage.

Luckily, that's all the code does. There is nothing truly malicious. So it can't steal your data, access your passwords, or see any info from your device.

Fair warning, clicking the second link in the tweet above will cause a restart. I tested this exploit on an iPhone X running the latest iOS 12 beta and a 10.5-inch iPad Pro running 11.4.1. – both devices power cycled off, and a few seconds later the Apple logo appeared as it restarted.

For now, it might be a fun way to prank a friend or the latest way that hackers can troll iPhone users. Be wary of incoming links from unsuspecting sources, and if your phone turns off as a result of this code just know it won't steal data. If anything, it might give you a moment of solitude when it disconnects you from the ever-connected world.

Fingers crossed that the iOS teams at Apple are working swiftly to address this.

Mashable Image
Jake Krol

Jake Krol was a Tech Writer at Mashable and had been at the company May–December 2018. He holds a degree in Media & Communication from Muhlenberg College. Jake has a big love for all things tech, and is a huge Springsteen fan and also a native New Jerseyan.

Mashable Potato

Recommended For You
Is there an iOS 26 backlash? Not so fast.
An iPhone with the iOS 26 logo

Comparing iPhone 17e vs. iPhone 17: Is the new $599 phone good enough?
iphone 17 and 17e on blue background

Score a free Apple iPhone 17e from T-Mobile — how to claim your free iPhone this weekend
the apple iphone 17e in several colorways in a row, overlapping each other in front of a green background

Apple responds to DarkSword spyware, the hacker tool targeting iPhones
Apple logo on iPhone

T-Mobile is giving away the Apple iPhone 17 for free — offer ends today (April 1)
Apple iPhone 17e on composite background

More in Tech
California just launched the country's largest public broadband network
Newsom stands behind a teen on a computer. A group of people cheer and clap behind them.

The Shark FlexStyle is our favorite Dyson Airwrap dupe, and it's $160 off at Amazon right now
The Shark FlexStyle Air Styling & Drying System against a colorful background.

Amazon's sister site is having a one-day sale, and this Bissell TurboClean deal is too good to skip
A woman using the Bissell TurboClean Cordless Hard Floor Cleaner Mop and Lightweight Wet/Dry Vacuum.

The best smartwatch you've never heard of is on sale for less than $50
Nothing CMF Watch 3 Pro in light green with blue and green abstract background

Reddit r/all takes another step into the grave
Reddit logo on phone screen

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

Google launches Gemma 4, a new open-source model: How to try it
Google Gemma

NYT Strands hints, answers for April 3, 2026
A game being played on a smartphone.

What's new to streaming this week? (April 3, 2026)
A composite of images from film and TV streaming this week.
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!