CVE-2011-2711Lars Hjemli Cgit
Low 3.5
Follow: this CVE · Lars Hjemli · Lars Hjemli Cgit We alert you by email or Slack (account required).
- Priority
- 21
- CVSS 2.0
- 3.5
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- Yes
- Published
- Aug 3, 2011
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
AV:N/AC:M/Au:S/C:N/I:P/A:N
What happens
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.
What to do
- Apply the vendor's security update for Cgit.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lars_hjemli | cgit | ≤ 0.9.0.2 |
| lars_hjemli | cgit | 0.1 |
| lars_hjemli | cgit | 0.2 |
| lars_hjemli | cgit | 0.3 |
| lars_hjemli | cgit | 0.4 |
| lars_hjemli | cgit | 0.5 |
| lars_hjemli | cgit | 0.6 |
| lars_hjemli | cgit | 0.6.1 |
| lars_hjemli | cgit | 0.6.2 |
| lars_hjemli | cgit | 0.6.3 |
| lars_hjemli | cgit | 0.7 |
| lars_hjemli | cgit | 0.7.1 |
| lars_hjemli | cgit | 0.7.2 |
| lars_hjemli | cgit | 0.8 |
| lars_hjemli | cgit | 0.8.1 |
| lars_hjemli | cgit | 0.8.1.1 |
| lars_hjemli | cgit | 0.8.2 |
| lars_hjemli | cgit | 0.8.2.1 |
| lars_hjemli | cgit | 0.8.2.2 |
| lars_hjemli | cgit | 0.8.3 |
| lars_hjemli | cgit | 0.8.3.1 |
| lars_hjemli | cgit | 0.8.3.2 |
| lars_hjemli | cgit | 0.8.3.3 |
| lars_hjemli | cgit | 0.8.3.4 |
| lars_hjemli | cgit | 0.8.3.5 |
| lars_hjemli | cgit | 0.9 |
| lars_hjemli | cgit | 0.9.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- hjemli.net Patch
- hjemli.net Patch
- secunia.com Vendor Advisory
- secunia.com
- www.openwall.com Patch
- www.openwall.com
- www.openwall.com Patch
- www.openwall.com Patch
- www.openwall.com Patch
- www.osvdb.org Patch
- www.securityfocus.com
- bugzilla.redhat.com Patch
- exchange.xforce.ibmcloud.com
- hermes.opensuse.org