# CVE-2020-2161: Improper Neutralization of Input During Web Page Generation in Jenkins

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.24%, higher than 69% of CVEs (2026-12-01)
- Published: 2020-03-25T16:05:34.000Z
- Modified: 2026-09-08T08:47:57.642Z
- Also known as: GHSA-g8pg-qrvm-wgh2, BIT-JENKINS-2020-2161
- Weaknesses: CWE-79
- Assigned by: jenkins

## Description

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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins: from unspecified up to 2.227; from unspecified up to LTS 2.204.5
- org.jenkins-ci.main:jenkins-core (Maven): before 2.228; from 2.204.6 before 2.228
- jenkins jenkins: up to 2.204.5; up to 2.227
- jenkins (Bitnami): before 2.227.1

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://jenkins.io/security/advisory/2020-03-25/#SECURITY-1781> (advisory, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2020/03/25/2> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-2161> (advisory, web)

## Sources

- CVE List: [CVE-2020-2161](https://www.cve.org/CVERecord?id=CVE-2020-2161), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-g8pg-qrvm-wgh2](https://github.com/advisories/GHSA-g8pg-qrvm-wgh2), CC-BY-4.0, modified 2023-12-06
- NVD: [CVE-2020-2161](https://nvd.nist.gov/vuln/detail/CVE-2020-2161), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-JENKINS-2020-2161](https://osv.dev/vulnerability/BIT-JENKINS-2020-2161), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-2161 · Whole record: https://cve.day/CVE-2020-2161.json · Rebuilt by cve.day 2026-11-25T22:57:51.657Z
