CVE-2020-2161
MEDIUM 5.4CVSS 3.1Improper Neutralization of Input During Web Page Generation in Jenkins
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.
- Published
- 25 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-jenkins-2020-2161GHSA-g8pg-qrvm-wgh2
- Sources
- NVDJSONOSV GHSA-g8pg-qrvm-wgh2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:* |
<= 2.204.5 | |
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:* |
<= 2.227 | |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | < 2.228 | 2.228 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 2.204.6, < 2.228 | 2.228 |
References
- http://www.openwall.com/lists/oss-security/2020/03/25/2 · Mailing List, Third Party Advisory, WEB
- https://jenkins.io/security/advisory/2020-03-25/#SECURITY-1781 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-2161 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 25 Mar 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)