2) Bob has authorized example.com to use Bob's Twitter account on his behalf, using OAuth 2
3) example.com happens to have an open redirect, an annoying and rather pervasive type of security vulnerability generally considered to be low-severity. (e.g. Google: "we hold that the usability and security benefits of a small number of well-designed and closely monitored redirectors outweigh their true risks.")
4) Mallory can now own Bob's Twitter account from any IMG tag on the Internet.
Step 1: generate a carefully crafted redirect URL which will start an OAuth authorization with the redirect URL designed to hit example.com but get 302ed to a page Mallory controls.
Step 2: put that URL in an IMG tag
Step 3: cause Bob to load that image. Twitter, noting that Bob has already auth'ed example.com on this device, handily elides a re-login and re-authorization and redirects Bob to the carefully crafted URL on example.com, which redirects him to Mallory's server
Step 4: Mallory now has a token which gives them Bob's Twitter account to play with