{"id":"CVE-2022-31267","aliases":["EUVD-2022-3782","GHSA-fh55-vwjc-69c7"],"status":"published","title":"Unescaped control characters in Gitblit","description":"Gitblit 1.9.2 allows privilege escalation via the Config User Service: a control character can be placed in a profile data field, such as an emailAddress%3Atext 'attacker@example.com\\n\\trole = \"#admin\"' value.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.17542,"percentile":0.9718,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269"],"published":"2022-05-21T20:35:31Z","modified":"2026-10-28T02:31:03Z","fixes":[{"ecosystem":"Maven","package":"com.gitblit:gitblit","fixed_in":["1.9.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"com.gitblit:gitblit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.3"}]}]},{"source":"osv","ecosystem":"Maven","package":"com.gitblit:gitblit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.3"}]}]}],"products":[{"vendor":"gitblit","product":"gitblit"}],"references":[{"url":"https://github.com/gitblit/gitblit/issues/1410","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/gitblit/gitblit/releases/tag/v1.9.3","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31267","tags":["advisory"]},{"url":"https://github.com/gitblit/gitblit/commit/9b4afad6f4be212474809533ec2c280cce86501a","tags":["web"]},{"url":"https://github.com/advisories/GHSA-fh55-vwjc-69c7"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31267.json","tags":["advisory"]},{"url":"https://github.com/gitblit/gitblit","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-31267","description":"Gitblit 1.9.2 allows privilege escalation via the Config User Service: a control character can be placed in a profile data field, such as an emailAddress%3Atext 'attacker@example.com\\n\\trole = \"#admin\"' value.","status":"published","published":"2022-05-21T20:35:31Z","modified":"2024-08-03T07:11:39.925Z","updated_at":"2026-11-02T14:34:34.940806Z"}],"euvd":[{"id":"EUVD-2022-3782","description":"Gitblit 1.9.2 allows privilege escalation via the Config User Service: a control character can be placed in a profile data field, such as an emailAddress%3Atext 'attacker@example.com\\n\\trole = \"#admin\"' value.","status":"published","published":"2022-05-21T20:35:31Z","modified":"2024-08-03T07:11:39Z","updated_at":"2026-11-03T03:25:34.735493Z"}],"ghsa":[{"id":"GHSA-fh55-vwjc-69c7","title":"Unescaped control characters in Gitblit","description":"Gitblit 1.9.2 allows privilege escalation via the Config User Service: a control character can be placed in a profile data field, such as an emailAddress%3Atext 'attacker@example.com\\n\\trole = \"#admin\"' value.","status":"published","published":"2022-05-22T00:00:32Z","modified":"2023-01-27T05:02:32Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:36:18.427692Z"}],"nvd":[{"id":"CVE-2022-31267","description":"Gitblit 1.9.2 allows privilege escalation via the Config User Service: a control character can be placed in a profile data field, such as an emailAddress%3Atext 'attacker@example.com\\n\\trole = \"#admin\"' value.","status":"published","published":"2022-05-21T21:15:52.017Z","modified":"2026-06-17T04:45:15.603Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:07:21.261605Z"}],"osv":[{"id":"GHSA-fh55-vwjc-69c7","title":"Unescaped control characters in Gitblit","description":"Gitblit 1.9.2 allows privilege escalation via the Config User Service: a control character can be placed in a profile data field, such as an emailAddress%3Atext 'attacker@example.com\\n\\trole = \"#admin\"' value.","status":"published","published":"2022-05-22T00:00:32Z","modified":"2023-11-08T04:09:30.298437Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T15:46:46.39441Z"},{"id":"CVE-2022-31267","description":"Gitblit 1.9.2 allows privilege escalation via the Config User Service: a control character can be placed in a profile data field, such as an emailAddress%3Atext 'attacker@example.com\\n\\trole = \"#admin\"' value.","status":"published","published":"2022-05-21T20:35:31Z","modified":"2026-10-28T02:31:03.513145492Z","updated_at":"2026-11-02T15:44:25.516981Z"}]}}
