CVE-2020-2221
MEDIUM 5.4CVSS 3.1Stored XSS vulnerability in Jenkins upstream cause
Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape the upstream job's display name shown as part of a build cause, resulting in a stored cross-site scripting vulnerability.
- Published
- 15 Jul 2020
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-jenkins-2020-2221GHSA-g4j6-m3m3-crw8
- Sources
- NVDJSONOSV GHSA-g4j6-m3m3-crw8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| 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 |
| 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.235.1 | |
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:* |
<= 2.244 | |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | < 2.235.2 | 2.235.2 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 2.236, < 2.245 | 2.245 |
References
- http://www.openwall.com/lists/oss-security/2020/07/15/5 · Mailing List, Third Party Advisory, WEB
- https://jenkins.io/security/advisory/2020-07-15/#SECURITY-1901 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-2221 · ADVISORY
- https://github.com/jenkinsci/jenkins/commit/f6e575381bdba85afaf27c529d7298091f226e49 · WEB
- https://github.com/jenkinsci/jenkins · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 15 Jul 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)