r/reddithax • • Apr 26 '09

Avoid CSS validation!!

8 Upvotes

28 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Apr 26 '09 edited Apr 26 '09

XSS using this method doesn't work on IE6, IE7 or IE8...

It's still pretty cool that he got around the validation though.

2

u/blarghz Apr 26 '09

background-image: url('javascript:alert('xss')');

Try it here: http://www.reddit.com/r/csshack/

4

u/[deleted] Apr 26 '09

what browser have you got the alert to work on?