WebHackList

Preliminary research

Account Takeover in Facebook mobile app due to Math.random and XSS in the Facebook JS SDK

Account Takeover in Facebook mobile app due to usage of cryptographically unsecure random number generator and XSS in Facebook JS SDK

AI-collected research leads first published in 2026 through 18 November 2026, included only after passing the repository's judging skill. Unranked, incomplete, not community-vetted, and subject to change.

Combines a Facebook JavaScript SDK postMessage DOM XSS with predictable V8 Math.random output. Observed plugin-iframe names reconstruct the PRNG state and predict an XSS callback, while mobile WebView framing and login CSRF complete account takeover.

Preserved copies · Youssef Sammouda · Original publication ↗

GitHub MD fileGitHub PDF file

Record

Document
Account Takeover in Facebook mobile app due to usage of cryptographically unsecure random number generator and XSS in Facebook JS SDK
Researcher
Youssef Sammouda
Published by
Youssef Sammouda (sam0) personal blog
Date
Topic
XSS

In the archive

Tags

This page is the archive's own catalogue record. The research is the work of Youssef Sammouda, first published at the original source. Preserved copies are kept so the citation survives its host.