A security researcher with the github handle pwnsdx has found a way to crash and restart any Apple device using Safari by just rendering a webpage !
POC Code: https://gist.github.com/pwnsdx/ce64de2760996a6c432f06d612e33aeahttps://gist.github.com/pwnsdx/ce64de2760996a6c432f06d612e33aea
The code exploits a weakness in iOS’ web rendering engine WebKit, which Apple mandates all apps and browsers use.
Anything that renders HTML using Safari on a Apple device is affected
That means anyone sending you a link on Facebook or Twitter, or if any webpage you visit includes the code careful before opening it !