CVE-2020-2162
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 set Content-Security-Policy headers for files uploaded as file parameters to a build, resulting in a stored XSS vulnerability.
- 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-2162GHSA-crg2-6xv3-qg5f
- Sources
- NVDJSONOSV GHSA-crg2-6xv3-qg5fJSON
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-1793 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-2162 · ADVISORY
- https://github.com/jenkinsci/jenkins/commit/c2d22b241eba718c62996e2ceeb5f2e0e9787f81 · WEB
- https://github.com/jenkinsci/jenkins · PACKAGE
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)