Home / Lars Hjemli / Cgit / CVE-2011-2711
CVE-2011-2711: is it exploited, and which versions of Lars Hjemli Cgit are affected and fixed?
CVE-2011-2711 is a cross-site scripting (XSS) vulnerability in Lars Hjemli Cgit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: cgit through 0.9.0.2, cgit 0.1, cgit 0.2 and 24 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Low (3.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.
What is CVE-2011-2711?
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.
From the CVE record by redhat, last updated August 6, 2024, 23:08 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| lars hjemli | cgit | through 0.9.0.2 | application |
| lars hjemli | cgit | 0.1 | application |
| lars hjemli | cgit | 0.2 | application |
| lars hjemli | cgit | 0.3 | application |
| lars hjemli | cgit | 0.4 | application |
| lars hjemli | cgit | 0.5 | application |
| lars hjemli | cgit | 0.6 | application |
| lars hjemli | cgit | 0.6.1 | application |
| lars hjemli | cgit | 0.6.2 | application |
| lars hjemli | cgit | 0.6.3 | application |
| lars hjemli | cgit | 0.7 | application |
| lars hjemli | cgit | 0.7.1 | application |
| lars hjemli | cgit | 0.7.2 | application |
| lars hjemli | cgit | 0.8 | application |
| lars hjemli | cgit | 0.8.1 | application |
| lars hjemli | cgit | 0.8.1.1 | application |
| lars hjemli | cgit | 0.8.2 | application |
| lars hjemli | cgit | 0.8.2.1 | application |
| lars hjemli | cgit | 0.8.2.2 | application |
| lars hjemli | cgit | 0.8.3 | application |
| lars hjemli | cgit | 0.8.3.1 | application |
| lars hjemli | cgit | 0.8.3.2 | application |
| lars hjemli | cgit | 0.8.3.3 | application |
| lars hjemli | cgit | 0.8.3.4 | application |
| lars hjemli | cgit | 0.8.3.5 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:31 UTC.
How severe is CVE-2011-2711?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2011-2711 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.88% probability of exploitation activity in the next 30 days, percentile 80.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- [oss-security] 20110724 Re: Re: CVE Request -- cGit -- XSS flaw in rename hint mailing-list, x_refsource_MLIST
- https://bugzilla.redhat.com/show_bug.cgi?id=725042 x_refsource_CONFIRM
- 48866 vdb-entry, x_refsource_BID
- [oss-security] 20110724 Re: Re: CVE Request -- cGit -- XSS flaw in rename hint mailing-list, x_refsource_MLIST
- [oss-security] 20110722 Re: CVE Request -- cGit -- XSS flaw in rename hint mailing-list, x_refsource_MLIST
- http://hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5 x_refsource_CONFIRM
- openSUSE-SU-2011:0891 vendor-advisory, x_refsource_SUSE
- 74050 vdb-entry, x_refsource_OSVDB
- [oss-security] 20110722 CVE Request -- cGit -- XSS flaw in rename hint mailing-list, x_refsource_MLIST
- 45358 third-party-advisory, x_refsource_SECUNIA
- [oss-security] 20110722 Re: CVE Request -- cGit -- XSS flaw in rename hint mailing-list, x_refsource_MLIST
- 45541 third-party-advisory, x_refsource_SECUNIA
- cgit-renamehint-xss(68754) vdb-entry, x_refsource_XF
- [cgit] 20110722 [PATCH] Fix potential XSS vulnerability in rename hint mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- July 11, 2011
- Published
- August 3, 2011, 00:00 UTC
- CVE record updated
- August 6, 2024, 23:08 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:31 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Cgit?
- Aug 9, 2013CVE-2013-2117 Jason A Donenfeld Cgit: path traversal (reading or writing files outside the intended folder)
- Nov 11, 2012CVE-2012-4548 Lars Hjemli Cgit: n/a
- Oct 10, 2012CVE-2012-4465 Lars Hjemli Cgit: memory corruption (buffer overflow)
- Mar 20, 2011CVE-2011-1027 Lars Hjemli Cgit: off-by-one Error
Questions about CVE-2011-2711
Is CVE-2011-2711 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 1.88% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Lars Hjemli Cgit are affected by CVE-2011-2711?
cgit through 0.9.0.2, cgit 0.1, cgit 0.2, cgit 0.3, cgit 0.4, cgit 0.5 and 21 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2011-2711?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2011-2711?
Low (3.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2011-2711?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.