Multiple cross-site scripting (XSS) vulnerabilities in the JGS-XA JGS-Gallery Addon 4.0.0 and earlier for Woltlab Burning Board (wBB) 2.x allow remote attackers to inject arbitrary web script or HTML via the (1) userid parameter in (a) jgsgalerieslideshow.php and (b) jgsgaleriescroll.php, and the (2) katid parameter in (c) jgsgalerieslideshow.php.