crypter icon indicating copy to clipboard operation
crypter copied to clipboard

XSS bug lets your Facebook friends run arbitrary code

Open mvirkkunen opened this issue 9 years ago • 0 comments

Problematic line (and the other one that does the same thing, why are there two anyways?):

span.html("<span class='recrypt' id='"+crypt+"'>"+linkify(decrypt)+"</span>");

As far as I can tell this lets your friends insert arbitrary HTML into your chat window, which in turn lets them run arbitrary code. Which can then do pretty much any action on Facebook on your behalf, and of course, steal all your encryption keys.

I admit I didn't test this because I couldn't be bothered to create multiple FB accounts.

mvirkkunen avatar Feb 05 '16 08:02 mvirkkunen