If you own a Samsung Galaxy S II or Galaxy S III. You need to pay a little more attention to websites you visit. This is until Samsung can patch a major security hole that allows your device to be wiped without you having any control.
The video below describes the simple hack, which is a line of code that can be placed into any webpage. When you visit the site your device wipes and does a factory reset. These events can also be triggered via NFC or QR code.
The only advice for now is don’t click on links you don’t trust until Samsung address this issue.
Below is an example of the rouge code: