Cross-site scripting (XSS) vulnerability in the print_fileinfo function in ui-diff.c in cgit 0.9.0.2 and earlier allows remote authenticated users to inject arbitrary web script or HTML via the filename associated with the rename hint.
https://hermes.opensuse.org/messages/10998459
https://exchange.xforce.ibmcloud.com/vulnerabilities/68754
https://bugzilla.redhat.com/show_bug.cgi?id=725042
http://www.securityfocus.com/bid/48866
http://www.openwall.com/lists/oss-security/2011/07/24/4
http://www.openwall.com/lists/oss-security/2011/07/24/3
http://www.openwall.com/lists/oss-security/2011/07/22/7
http://www.openwall.com/lists/oss-security/2011/07/22/6
http://www.openwall.com/lists/oss-security/2011/07/22/2
http://secunia.com/advisories/45541
http://secunia.com/advisories/45358
http://hjemli.net/pipermail/cgit/2011-July/000276.html
http://hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5