CVE-2022-34173 json
Cross-site Scripting vulnerability in Jenkins
published 2022-06-22 4 y ago modified 2026-09-08 2 mo ago also BIT-jenkins-2022-34173 , EUVD-2022-5961 , GHSA-6g4r-q7qg-6qx6
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.jenkins-ci.main:jenkins-core 2.356
- bitnami jenkins 2.355.1
- jenkins Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 2.346.2-r0
alpine advisories ALPINE-CVE-2022-34173
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-34173 updated cvss 6.1
Jenkins: Cross-site scripting (XSS) vulnerability in Jenkins LTS
-
Red Hat OpenShift Container Platform 3.11 jenkins Red Hat OpenShift Container Platform 4 jenkinsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.47% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.main:jenkins-core | >=2.340, <2.356 |
2.356 |
| bitnami | jenkins | >=2.340.0, <2.355.1 |
2.355.1 |
Affected products
- Jenkins project Jenkins
Classification
- Weakness
- Technology feeds
References
-
jenkins.io
/security/advisory/2022-06-22/#SECURITY-2781
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-34173
advisory, web
-
github.com
/jenkinsci/jenkins
package
Sources
- CVE List CVE-2022-34173
- GitHub Advisory GHSA-6g4r-q7qg-6qx6
- NVD CVE-2022-34173
- OSV BIT-jenkins-2022-34173
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.