5.4medium
Stored XSS vulnerability in Jenkins on new item page
- Severity
- 5.4medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.04% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-mj7q-cmf3-mg7hBIT-JENKINS-2021-21611
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins | from unspecified up to 2.274, from unspecified up to LTS 2.263.1 | CVE List |
| org.jenkins-ci.main:jenkins-core (Maven) | before 2.263.2, from 2.264 before 2.275 | GitHub Advisory Database |
| jenkins jenkins | up to 2.263.1, up to 2.274 | NVD |
| jenkins (Bitnami) | before 2.274.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to specify display names or IDs of item types.
As of the publication of this advisory, the Jenkins security team is not aware of any plugins published via the Jenkins project update center that allow doing this. Jenkins 2.275, LTS 2.263.2 escapes display names and IDs of item types shown on the New Item page.
NVD (es)
Jenkins versiones 2.274 y anteriores, LTS 2.263.1 y anteriores, no escapan los nombres a mostrar y los ID de los tipos de elementos que se muestran en la página New Item, resultando en una vulnerabilidad de tipo cross-site scripting (XSS) almacenado explotable por unos atacantes capaces de especificar nombres a mostrar o ID de tipos de elementos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21611 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mj7q-cmf3-mg7h changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-21611 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-JENKINS-2021-21611 changed 2026-09-08 | Apache-2.0 |