This is why GitHub uses a separate domain (github.io as opposed to github.com) for user sites.
The risk of eval() is giving control of the site data of foo.github.io to the author of a stackoverflow comment.
The warning is part of the fun, though.
http://homakov.blogspot.com/2013/03/hacking-github-with-webk...