CVE-2011-2711
LOW 3.5CVSS 2.0Cross-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.
- Published
- 3 Aug 2011
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:*:*:*:*:*:*:*:* |
<= 0.9.0.2 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.1:*:*:*:*:*:*:* |
= 0.1 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.2:*:*:*:*:*:*:* |
= 0.2 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.3:*:*:*:*:*:*:* |
= 0.3 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.4:*:*:*:*:*:*:* |
= 0.4 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.5:*:*:*:*:*:*:* |
= 0.5 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.6:*:*:*:*:*:*:* |
= 0.6 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.6.1:*:*:*:*:*:*:* |
= 0.6.1 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.6.2:*:*:*:*:*:*:* |
= 0.6.2 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.6.3:*:*:*:*:*:*:* |
= 0.6.3 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.7:*:*:*:*:*:*:* |
= 0.7 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.7.1:*:*:*:*:*:*:* |
= 0.7.1 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.7.2:*:*:*:*:*:*:* |
= 0.7.2 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8:*:*:*:*:*:*:* |
= 0.8 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8.1:*:*:*:*:*:*:* |
= 0.8.1 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8.1.1:*:*:*:*:*:*:* |
= 0.8.1.1 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8.2:*:*:*:*:*:*:* |
= 0.8.2 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8.2.1:*:*:*:*:*:*:* |
= 0.8.2.1 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8.2.2:*:*:*:*:*:*:* |
= 0.8.2.2 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8.3:*:*:*:*:*:*:* |
= 0.8.3 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8.3.1:*:*:*:*:*:*:* |
= 0.8.3.1 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8.3.2:*:*:*:*:*:*:* |
= 0.8.3.2 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8.3.3:*:*:*:*:*:*:* |
= 0.8.3.3 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8.3.4:*:*:*:*:*:*:* |
= 0.8.3.4 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.8.3.5:*:*:*:*:*:*:* |
= 0.8.3.5 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.9:*:*:*:*:*:*:* |
= 0.9 | |
| NVD | lars_hjemli | cgitcpe:2.3:a:lars_hjemli:cgit:0.9.0.1:*:*:*:*:*:*:* |
= 0.9.0.1 |
References
- http://hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5 · Patch
- http://hjemli.net/pipermail/cgit/2011-July/000276.html · Patch
- http://secunia.com/advisories/45358 · Vendor Advisory
- http://secunia.com/advisories/45541
- http://www.openwall.com/lists/oss-security/2011/07/22/2 · Patch
- http://www.openwall.com/lists/oss-security/2011/07/22/6
- http://www.openwall.com/lists/oss-security/2011/07/22/7 · Patch
- http://www.openwall.com/lists/oss-security/2011/07/24/3 · Patch
- http://www.openwall.com/lists/oss-security/2011/07/24/4 · Patch
- http://www.osvdb.org/74050 · Patch
- http://www.securityfocus.com/bid/48866
- https://bugzilla.redhat.com/show_bug.cgi?id=725042 · Patch
- https://exchange.xforce.ibmcloud.com/vulnerabilities/68754
- https://hermes.opensuse.org/messages/10998459
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 3 Aug 2011)