{"schemaVersion":3,"id":"CVE-2011-2711","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2011-08-03T00:00:00.000Z","modified":"2024-08-06T23:08:23.782Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.5,"severity":"low","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.5,"severity":"low","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01882,"percentile":0.79157,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01882},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01882,"percentile":0.79157}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01882,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01882,"percentile":0.79157}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"lars_hjemli","product":"cgit","name":"cgit","label":"cgit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.9.0.2","noFixRecorded":false,"fixedIn":null},{"text":"0.1","noFixRecorded":false,"fixedIn":null},{"text":"0.2","noFixRecorded":false,"fixedIn":null},{"text":"0.3","noFixRecorded":false,"fixedIn":null},{"text":"0.4","noFixRecorded":false,"fixedIn":null},{"text":"0.5","noFixRecorded":false,"fixedIn":null},{"text":"0.6","noFixRecorded":false,"fixedIn":null},{"text":"0.6.1","noFixRecorded":false,"fixedIn":null},{"text":"0.6.2","noFixRecorded":false,"fixedIn":null},{"text":"0.6.3","noFixRecorded":false,"fixedIn":null},{"text":"0.7","noFixRecorded":false,"fixedIn":null},{"text":"0.7.1","noFixRecorded":false,"fixedIn":null},{"text":"0.7.2","noFixRecorded":false,"fixedIn":null},{"text":"0.8","noFixRecorded":false,"fixedIn":null},{"text":"0.8.1","noFixRecorded":false,"fixedIn":null},{"text":"0.8.1.1","noFixRecorded":false,"fixedIn":null},{"text":"0.8.2","noFixRecorded":false,"fixedIn":null},{"text":"0.8.2.1","noFixRecorded":false,"fixedIn":null},{"text":"0.8.2.2","noFixRecorded":false,"fixedIn":null},{"text":"0.8.3","noFixRecorded":false,"fixedIn":null},{"text":"0.8.3.1","noFixRecorded":false,"fixedIn":null},{"text":"0.8.3.2","noFixRecorded":false,"fixedIn":null},{"text":"0.8.3.3","noFixRecorded":false,"fixedIn":null},{"text":"0.8.3.4","noFixRecorded":false,"fixedIn":null},{"text":"0.8.3.5","noFixRecorded":false,"fixedIn":null},{"text":"0.9","noFixRecorded":false,"fixedIn":null},{"text":"0.9.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.9.0.2 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.6.1 | 0.6.2 | 0.6.3 | 0.7 | 0.7.1 | 0.7.2 | 0.8 | 0.8.1 | 0.8.1.1 | 0.8.2 | 0.8.2.1 | 0.8.2.2 | 0.8.3 | 0.8.3.1 | 0.8.3.2 | 0.8.3.3 | 0.8.3.4 | 0.8.3.5 | 0.9 | 0.9.0.1","eol":null,"hubHref":"/vendor/lars_hjemli/cgit"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.openwall.com/lists/oss-security/2011/07/24/4","label":"www.openwall.com/lists/oss-security/2011/07/24/4","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=725042","label":"bugzilla.redhat.com/show_bug.cgi?id=725042","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Patch"]},{"url":"http://www.securityfocus.com/bid/48866","label":"www.securityfocus.com/bid/48866","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/24/3","label":"www.openwall.com/lists/oss-security/2011/07/24/3","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/22/6","label":"www.openwall.com/lists/oss-security/2011/07/22/6","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST"]},{"url":"http://hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5","label":"hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5","hostname":"hjemli.net","tags":["X Refsource CONFIRM","Patch"]},{"url":"https://hermes.opensuse.org/messages/10998459","label":"hermes.opensuse.org/messages/10998459","hostname":"hermes.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://www.osvdb.org/74050","label":"www.osvdb.org/74050","hostname":"www.osvdb.org","tags":["VDB Entry","X Refsource OSVDB","Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/22/2","label":"www.openwall.com/lists/oss-security/2011/07/22/2","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"http://secunia.com/advisories/45358","label":"secunia.com/advisories/45358","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/22/7","label":"www.openwall.com/lists/oss-security/2011/07/22/7","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"http://secunia.com/advisories/45541","label":"secunia.com/advisories/45541","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/68754","label":"exchange.xforce.ibmcloud.com/vulnerabilities/68754","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF"]},{"url":"http://hjemli.net/pipermail/cgit/2011-July/000276.html","label":"hjemli.net/pipermail/cgit/2011-July/000276.html","hostname":"hjemli.net","tags":["Mailing List","X Refsource MLIST","Patch"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:10137-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10137-1"]},"timeline":[{"kind":"published","date":"2011-08-03T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T23:08:23.782Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":14,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:22:59.759Z","stale":false,"partial":false}}