{"id":"CVE-2022-34173","aliases":["ALPINE-CVE-2022-34173","BIT-jenkins-2022-34173","EUVD-2022-5961","GHSA-6g4r-q7qg-6qx6"],"status":"published","title":"Cross-site Scripting vulnerability in Jenkins","description":"In Jenkins 2.340 through 2.355 (both inclusive) the tooltip of the build button in list views supports HTML without escaping the job display name, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with Job/Configure permission.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01496,"percentile":0.74533,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22","CWE-79"],"published":"2022-06-22T14:40:54Z","modified":"2026-11-03T07:31:26Z","fixes":[{"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","fixed_in":["2.356"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.16","package":"jenkins","fixed_in":["2.346.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"jenkins","fixed_in":["2.346.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"jenkins","fixed_in":["2.346.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"jenkins","fixed_in":["2.346.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"jenkins","fixed_in":["2.346.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"jenkins","fixed_in":["2.346.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"jenkins","fixed_in":["2.346.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"jenkins","fixed_in":["2.346.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"jenkins","fixed_in":["2.346.2-r0"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"jenkins","fixed_in":["2.355.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.340"},{"fixed":"2.356"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"jenkins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.340"},{"fixed":"2.346.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"jenkins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.340"},{"fixed":"2.346.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"jenkins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.340"},{"fixed":"2.346.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"jenkins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.340"},{"fixed":"2.346.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"jenkins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.340"},{"fixed":"2.346.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"jenkins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.340"},{"fixed":"2.346.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"jenkins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.340"},{"fixed":"2.346.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"jenkins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.340"},{"fixed":"2.346.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"jenkins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.340"},{"fixed":"2.346.2-r0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"jenkins","ranges":[{"type":"SEMVER","events":[{"introduced":"2.340.0"},{"fixed":"2.355.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.340"},{"fixed":"2.356"}]}],"versions":["2.340","2.341","2.342","2.343","2.344","2.345","2.346","2.346.1","2.346.2","2.346.3","2.347","2.348","2.349","2.350","2.354","2.355"]}],"products":[{"vendor":"jenkins","product":"jenkins"},{"vendor":"jenkins project","product":"jenkins"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2781","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34173","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-6g4r-q7qg-6qx6"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-34173","tags":["advisory"]},{"url":"https://github.com/jenkinsci/jenkins","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-34173","description":"In Jenkins 2.340 through 2.355 (both inclusive) the tooltip of the build button in list views supports HTML without escaping the job display name, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with Job/Configure permission.","status":"published","published":"2022-06-22T14:40:54Z","modified":"2024-08-03T08:16:17.034Z","updated_at":"2026-11-02T14:34:42.028422Z"}],"euvd":[{"id":"EUVD-2022-5961","description":"In Jenkins 2.340 through 2.355 (both inclusive) the tooltip of the build button in list views supports HTML without escaping the job display name, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with Job/Configure permission.","status":"published","published":"2022-06-22T14:40:54Z","modified":"2024-08-03T08:16:17Z","updated_at":"2026-11-03T03:25:29.025225Z"}],"ghsa":[{"id":"GHSA-6g4r-q7qg-6qx6","title":"Cross-site Scripting vulnerability in Jenkins","description":"Since Jenkins 2.340, the tooltip of the build button in list views supports HTML without escaping the job display name.\n\nThis vulnerability is known to be exploitable by attackers with Job/Configure permission.\n\nJenkins 2.356 addresses this vulnerability. The tooltip of the build button in list views is now escaped.\n\nNo Jenkins LTS release is affected by SECURITY-2776 or SECURITY-2780, as these were not present in Jenkins 2.332.x and fixed in the 2.346.x line before 2.346.1.","status":"published","published":"2022-06-24T00:00:31Z","modified":"2023-01-31T05:02:18Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-22","CWE-79"],"updated_at":"2026-11-02T14:36:29.100018Z"}],"nvd":[{"id":"CVE-2022-34173","description":"In Jenkins 2.340 through 2.355 (both inclusive) the tooltip of the build button in list views supports HTML without escaping the job display name, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with Job/Configure permission.","status":"published","published":"2022-06-23T17:15:15.447Z","modified":"2026-06-17T04:49:50.7Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:22.613788Z"}],"osv":[{"id":"ALPINE-CVE-2022-34173","description":"In Jenkins 2.340 through 2.355 (both inclusive) the tooltip of the build button in list views supports HTML without escaping the job display name, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with Job/Configure permission.","status":"published","published":"2022-06-23T17:15:15.447Z","modified":"2026-11-03T07:31:26.006840762Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T07:50:01.054176Z"},{"id":"CVE-2022-34173","description":"In Jenkins 2.340 through 2.355 (both inclusive) the tooltip of the build button in list views supports HTML without escaping the job display name, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with Job/Configure permission.","status":"published","published":"2022-06-23T17:15:15.447Z","modified":"2026-10-24T10:30:55.216881704Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:25.860945Z"},{"id":"GHSA-6g4r-q7qg-6qx6","title":"Cross-site Scripting vulnerability in Jenkins","description":"Since Jenkins 2.340, the tooltip of the build button in list views supports HTML without escaping the job display name.\n\nThis vulnerability is known to be exploitable by attackers with Job/Configure permission.\n\nJenkins 2.356 addresses this vulnerability. The tooltip of the build button in list views is now escaped.\n\nNo Jenkins LTS release is affected by SECURITY-2776 or SECURITY-2780, as these were not present in Jenkins 2.332.x and fixed in the 2.346.x line before 2.346.1.","status":"published","published":"2022-06-24T00:00:31Z","modified":"2023-12-06T01:02:23.085248Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-22","CWE-79"],"updated_at":"2026-11-02T15:46:39.618611Z"},{"id":"BIT-jenkins-2022-34173","description":"In Jenkins 2.340 through 2.355 (both inclusive) the tooltip of the build button in list views supports HTML without escaping the job display name, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with Job/Configure permission.","status":"published","published":"2024-03-06T10:57:32.2Z","modified":"2026-09-08T08:47:57.886862683Z","updated_at":"2026-11-02T15:28:31.42203Z"}]}}
