[原文]Multiple cross-site scripting (XSS) vulnerabilities in Gallery 1.3.4-pl1 allow remote attackers to inject arbitrary web script or HTML via (1) the index field in add_comment.php, (2) set_albumName, (3) slide_index, (4) slide_full, (5) slide_loop, (6) slide_pause, (7) slide_dir fields in slideshow_low.php, or (8) username field in search.php.
Gallery contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate index variables upon submission to the add_comment.php script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.
Upgrade to version 1.4.4-pl6 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.