Cross-site scripting (XSS) vulnerability in template/default/thanks_comment.php in Yet Another PHP Image Gallery (YaPIG) 0.95b allows remote attackers to inject arbitrary web script or HTML via the D_REFRESH_URL parameter.
http://www.securityfocus.com/bid/19709
http://www.securityfocus.com/archive/1/444328/100/0/threaded
http://www.armorize.com/advisory.php?Keyword=Armorize-ADV-2006-0001