CVE-2020-2222 json
Stored XSS vulnerability in Jenkins 'keep forever' badge icon
published 2020-07-15 6 y ago modified 2026-09-08 2 mo ago also BIT-jenkins-2020-2222 , EUVD-2022-3119 , GHSA-864v-5q2g-fr64
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape the job name in the 'Keep this build forever' badge tooltip, resulting in a stored cross-site scripting vulnerability.
Patch / fix
- maven org.jenkins-ci.main:jenkins-core 2.235.2, 2.245
- bitnami jenkins 2.244.1
- jenkins openshift 4.3 2.235.5.1600415514-1.el7
- openshift openshift 4.3 4.3.37-202009120213.p0.git.0.dffefe4.el8
- openshift-hyperkube openshift 4.3 4.3.37-202009120213.p0.git.0.dffefe4.el8
- openshift openshift 4.4 4.4.0-202008250319.p0.git.0.d653415.el7
- openshift openshift 4.4 4.4.0-202008250319.p0.git.0.d653415.el8
- openshift-hyperkube openshift 4.4 4.4.0-202008250319.p0.git.0.d653415.el7
- openshift-hyperkube openshift 4.4 4.4.0-202008250319.p0.git.0.d653415.el8
- jenkins openshift 4.5 2.235.2.1597312414-1.el7
red hat advisories RHSA-2020:3808RHSA-2020:3579RHSA-2020:3519RHSA-2020:3541RHBA-2020:3441
- jenkins Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 2.245-r0
alpine advisories ALPINE-CVE-2020-2222
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-2020-2222 updated cvss 8.0
jenkins: Stored XSS vulnerability in 'keep forever' badge icons
-
Red Hat OpenShift Container Platform 3.11 jenkins 2.235.2.1597220898-1.el7fixed: vendor fix RHSA-2020:3541
-
Red Hat OpenShift Container Platform 4.3 jenkins 2.235.5.1600415514-1.el7fixed: vendor fix RHSA-2020:3808
-
Red Hat OpenShift Container Platform 4.4 jenkins 2.235.2.1597312065-1.el7, openshift 4.4.0-202008250319.p0.git.0.d653415.el7, openshift 4.4.0-202008250319.p0.git.0.d653415.el8, openshift-hyperkube 4.4.0-202008250319.p0.git.0.d653415.el7, openshift-hyperkube 4.4.0-202008250319.p0.git.0.d653415.el8fixed: vendor fix RHBA-2020:3441
-
Red Hat OpenShift Container Platform 4.5 jenkins 2.235.2.1597312414-1.el7fixed: vendor fix RHSA-2020:3519
-
Red Hat OpenShift Container Platform 4.6 openshift4/ose-pod v4.6.0-202010061132.p0, openshift4/ose-jenkins v4.6.0-202010120952.p0, openshift4/ose-deployer v4.6.0-202010080605.p0, openshift4/ose-sdn-rhel8 v4.6.0-202010061132.p0, openshift4/ose-telemeter v4.6.0-202010061132.p0, openshift4/ose-kube-proxy v4.6.0-202010061132.p0, +49 morefixed: vendor fix RHBA-2020:4196
-
Red Hat OpenShift Container Platform 3.11 python-rsa 4.5-2.el7, python2-rsa 4.5-2.el7, jenkins-2-plugins 3.11.1597310986-1.el7, openshift-ansible 3.11.272-1.git.0.79ab6e9.el7, openshift-ansible-test 3.11.272-1.git.0.79ab6e9.el7, openshift-ansible-roles 3.11.272-1.git.0.79ab6e9.el7, +1 more Red Hat OpenShift Container Platform 4.3 openshift 4.3.37-202009120213.p0.git.0.dffefe4.el8, openshift-hyperkube 4.3.37-202009120213.p0.git.0.dffefe4.el8 Red Hat OpenShift Container Platform 4.4 cri-o 1.17.4-24.rhaos4.4.git73658e6.el7, cri-o 1.17.4-24.rhaos4.4.git73658e6.el8, container-selinux 2.144.0-1.rhaos4.4.el8, openshift-kuryr 4.4.0-202008131757.p0.git.1813.8e0365d.el8, openshift-kuryr-cni 4.4.0-202008131757.p0.git.1813.8e0365d.el8, machine-config-daemon 4.4.0-202008130707.p0.git.2357.47d462a.el8, +3 more Red Hat OpenShift Container Platform 4.5 openshift 4.5.0-202008130146.p0.git.0.aaf1d57.el7, openshift 4.5.0-202008130146.p0.git.0.aaf1d57.el8, openshift-hyperkube 4.5.0-202008130146.p0.git.0.aaf1d57.el7, openshift-hyperkube 4.5.0-202008130146.p0.git.0.aaf1d57.el8not 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.13% chance of exploitation in the next 30 days, higher than 66% 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 | 3.5 | AV:N/AC:M/Au:S/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.235.2 >=2.236, <2.245 |
2.235.2 2.245 |
| bitnami | jenkins | <2.244.1 |
2.244.1 |
Affected products
- Jenkins project Jenkins
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/jenkinsci/jenkins/commit/e7443ef2ef255253231f3f1db0034fae39f0cba5
web
-
jenkins.io
/security/advisory/2020-07-15/#SECURITY-1902
web, vendor-advisory, advisory
-
openwall.com
/lists/oss-security/2020/07/15/5
mailing-list, web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-2222
advisory, web
-
github.com
/jenkinsci/jenkins
package
Sources
- CVE List CVE-2020-2222
- GitHub Advisory GHSA-864v-5q2g-fr64
- NVD CVE-2020-2222
- OSV BIT-jenkins-2020-2222
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.