CVE-2021-21611
MEDIUM 5.4CVSS 3.1Stored XSS vulnerability in Jenkins on new item page
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape display names and IDs of item types shown on the New Item page, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to specify display names or IDs of item types.
- Published
- 13 Jan 2021
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-jenkins-2021-21611GHSA-mj7q-cmf3-mg7h
- Sources
- NVDJSONOSV GHSA-mj7q-cmf3-mg7hJSON
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.263.1 | |
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:* |
<= 2.274 | |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | < 2.263.2 | 2.263.2 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 2.264, < 2.275 | 2.275 |
References
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2171 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21611 · ADVISORY
- https://github.com/jenkinsci/jenkins/commit/8c451b08886561a914ef0c30cbb9d40ea33a9bbe · WEB
- https://github.com/jenkinsci/jenkins · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 13 Jan 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)