Cross-site scripting (XSS) vulnerability in Gallery 2 up to 2.0.2 allows remote attackers to inject arbitrary web script or HTML via the X-Forwarded-For (X_FORWARDED_FOR) HTTP header, which is not properly handled when adding a comment to an album.
https://exchange.xforce.ibmcloud.com/vulnerabilities/25117
http://www.vupen.com/english/advisories/2006/0813
http://www.securityfocus.com/bid/16940
http://www.gulftech.org/?node=research&article_id=00106-03022006
http://securitytracker.com/id?1015717
http://secunia.com/advisories/19104
http://gallery.menalto.com/gallery_2.0.3_released
http://archives.neohapsis.com/archives/bugtraq/2006-02/0621.html