Example 5.5.1. Samy Worm.
One October 4th, 2005 an XSS worm spread across MySpace, the dominant social network at the time. The worm was written by Samy Kamkar as a simple post that when read would cause a viewers machine to make their own post stating "but most of all, samy is my hero" and including the code to propagate. The results was that within 20 hours over one million users had run the payload.
Now Samy is a prominent security consultant and you can read his full technical explanation of the worm here. Vice Motherboard also did a segment on Samy for their Greatest Moments in Hacking History series.
3
samy.pl/myspace/tech.html
4
www.youtube.com/watch?v=DtnuaHl378M