PhotoPost PHP 5.0 RC3 does not fully verify that an uploaded file is an image file, which allows remote attackers to inject arbitrary Javascript by uploading non-image files with an image extension such as .gif.Referenceshttp://www.securityfocus.com/bid/12779https://exchange.xforce.ibmcloud.com/vulnerabilities/19679http://marc.info/?l=bugtraq&m=111065868402859&w=2http://secunia.com/advisories/14576