5.4medium
Stored Cross-site Scripting vulnerability in Jenkins Job Generator Plugin
- Severity
- 5.4medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.83% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-f3jq-9c79-j65m
Description
Jenkins Job Generator Plugin 1.22 and earlier does not escape the name and description of Generator Parameter and Generator Choice parameters on Job Generator jobs' Build With Parameters views, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Job Generator Plugin | from unspecified up to 1.22, from next of 1.22 before unspecified | CVE List |
| org.jenkins-ci.plugins:jobgenerator (Maven) | up to 1.22 | GitHub Advisory Database |
| jenkins job_generator | up to 1.22 | NVD |
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 |
Classification
What each source says
CVE List
Jenkins Job Generator Plugin 1.22 and earlier does not escape the name and description of Generator Parameter and Generator Choice parameters on Job Generator jobs' Build With Parameters views, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.
GitHub Advisory Database
Jenkins Job Generator Plugin 1.22 and earlier does not escape the name and description of Generator Parameter and Generator Choice parameters on Job Generator jobs' Build With Parameters views, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.
Exploitation of this vulnerability requires that parameters are listed on another page, like the "Build With Parameters" and "Parameters" pages provided by Jenkins (core), and that those pages are not hardened to prevent exploitation. Jenkins (core) has prevented exploitation of vulnerabilities of this kind on the "Build With Parameters" and "Parameters" pages since 2.44 and LTS 2.32.2 as part of the SECURITY-353 / CVE-2017-2601 fix.
NVD (es)
El plugin Jenkins Job Generator versiones 1.22 y anteriores, no escapa al nombre y descripción de los parámetros Generator Parameter y Generator Choice en las vistas Build With Parameters de los trabajos del generador de trabajos, resultando en una vulnerabilidad de tipo cross-site scripting (XSS) almacenado, explotable por atacantes con permiso Item/Configure
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-29042 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f3jq-9c79-j65m changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2022-29042 changed 2026-06-17 | Public domain |