CVE-2020-2161Jenkins
Medium 5.4
Follow: this CVE · Jenkins · Jenkins We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- Yes
- Published
- Mar 25, 2020
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Jenkins.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core |
< 2.228 |
2.228 |
— |
| Maven | org.jenkins-ci.main:jenkins-core |
≥ 2.204.6 < 2.228 |
2.228 |
— |
Per OSV / GitHub Advisories (GHSA-g8pg-qrvm-wgh2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | jenkins | ≤ 2.204.5 |
| jenkins | jenkins | ≤ 2.227 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- jenkins.io Vendor Advisory