CVE-2022-34171 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-34171 , EUVD-2022-5981 , GHSA-7f84-p6r5-jr6q
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
In Jenkins 2.321 through 2.355 (both inclusive) and LTS 2.332.1 through LTS 2.332.3 (both inclusive) the HTML output generated for new symbol-based SVG icons includes the 'title' attribute of 'l:ionicon' (until Jenkins 2.334) and 'alt' attribute of 'l:icon' (since Jenkins 2.335) without further escaping, resulting in a cross-site scripting (XSS) vulnerability.
Patch / fix
- maven org.jenkins-ci.main:jenkins-core 2.332.4, 2.346.1, 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-34171
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-34171 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.56% chance of exploitation in the next 30 days, higher than 75% 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.350, <2.356 >=2.346, <2.346.1 <2.332.4 |
2.356 2.346.1 2.332.4 |
| bitnami | jenkins | >=2.321.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-34171
advisory, web
-
github.com
/jenkinsci/jenkins
package
Sources
- CVE List CVE-2022-34171
- GitHub Advisory GHSA-7f84-p6r5-jr6q
- NVD CVE-2022-34171
- OSV BIT-jenkins-2022-34171
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.