Re:Google's XSS game
by wasd on Thursday May 29, 2014 @01:43PM
(#7817508)
Using <script> ... as a payload won't work because the browser won't execute scripts added after the page has loaded.
[ Parent
| on HN ]
The browser smartly won't execute scripts added through innerHTML, but it probably should be noted that jquery's html() method will[0]. There's always a way to shoot yourself in the foot. :)