CVE-2020-2161 json
Improper Neutralization of Input During Web Page Generation in Jenkins
published 2020-03-25 6 y ago modified 2026-09-08 2 mo ago also BIT-jenkins-2020-2161 , EUVD-2020-22116 , GHSA-g8pg-qrvm-wgh2
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
Jenkins 2.227 and earlier, LTS 2.204.5 and earlier does not properly escape node labels that are shown in the form validation for label expressions on job configuration pages, resulting in a stored XSS vulnerability exploitable by users able to define node labels.
Patch / fix
- maven org.jenkins-ci.main:jenkins-core 2.228
- bitnami jenkins 2.227.1
- cri-o openshift 4.3 1.16.6-15.dev.rhaos4.3.gitebc053b.el7
- cri-o openshift 4.3 1.16.6-15.dev.rhaos4.3.gitebc053b.el8
- conmon openshift 4.3 2:2.0.17-1.rhaos4.3.el7
- conmon openshift 4.3 2:2.0.17-1.rhaos4.3.el8
- jenkins openshift 4.3 2.222.1.1591349991-1.el7
- openshift openshift 4.3 4.3.25-202006060952.git.1.96c30f6.el7
- openshift openshift 4.3 4.3.25-202006060952.git.1.96c30f6.el8
- s390utils openshift 4.3 2:2.6.0-23.el8
red hat advisories RHBA-2020:2435RHBA-2020:2477RHBA-2020:2444
- jenkins Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 2.228-r0
alpine advisories ALPINE-CVE-2020-2161
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-2161 updated cvss 5.4
jenkins: XSS in job configuration pages
-
Red Hat OpenShift Container Platform 3.11 jenkins 2.222.1.1591351669-1.el7fixed: vendor fix RHBA-2020:2477
-
Red Hat OpenShift Container Platform 4.3 s390utils 2.6.0-23.el8, s390utils-base 2.6.0-23.el8, conmon 2.0.17-1.rhaos4.3.el7, conmon 2.0.17-1.rhaos4.3.el8, s390utils-cmsfs 2.6.0-23.el8, s390utils-zdsfs 2.6.0-23.el8, +30 morefixed: vendor fix RHBA-2020:2435
-
Red Hat OpenShift Container Platform 4.4 conmon 2.0.17-1.rhaos4.4.el7, conmon 2.0.17-1.rhaos4.4.el8, jenkins 2.222.1.1591351066-1.el7, cri-o 1.17.4-14.dev.rhaos4.4.gitb93af5d.el7, cri-o 1.17.4-14.dev.rhaos4.4.gitb93af5d.el8, openshift 4.4.0-202006061254.git.1.dc84fb4.el7, +18 morefixed: vendor fix RHBA-2020:2444
-
Red Hat OpenShift Container Platform 3.11 python-openshift 0.6.4-2.el7, python2-openshift 0.6.4-2.el7, jenkins-2-plugins 3.11.1591354111-1.el7, prometheus 3.11.232-1.git.1.3c936ee.el7, cri-tools 1.11.1-3.rhaos3.11.gitedabfb5.el7, golang-github-cpuguy83-go-md2man 1.0.7-1.el7, +39 morenot 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.24% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| 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.228 >=2.204.6, <2.228 |
2.228 |
| bitnami | jenkins | <2.227.1 |
2.227.1 |
Affected products
- Jenkins project Jenkins
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
jenkins.io
/security/advisory/2020-03-25/#SECURITY-1781
web, vendor-advisory, advisory
-
openwall.com
/lists/oss-security/2020/03/25/2
mailing-list, web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-2161
advisory, web
Sources
- CVE List CVE-2020-2161
- GitHub Advisory GHSA-g8pg-qrvm-wgh2
- NVD CVE-2020-2161
- OSV BIT-jenkins-2020-2161
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.