Cross-site scripting (XSS) vulnerability in mode.php in Coppermine Photo Gallery (CPG) 1.4.12 and earlier allows remote attackers to inject arbitrary web script or HTML via the referer parameter.
https://exchange.xforce.ibmcloud.com/vulnerabilities/36659
http://www.vupen.com/english/advisories/2007/3194
http://www.securitytracker.com/id?1018704
http://www.securityfocus.com/archive/1/479757/100/0/threaded
http://securityreason.com/securityalert/3152