CVE-2022-29042
JSON

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 packageVersionsReported by
Jenkins project Jenkins Job Generator Pluginfrom unspecified up to 1.22, from next of 1.22 before unspecifiedCVE List
org.jenkins-ci.plugins:jobgenerator (Maven)up to 1.22GitHub Advisory Database
jenkins job_generatorup to 1.22NVD

All scores

GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV: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

SourceRecordLicence
CVE ListCVE-2022-29042 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-f3jq-9c79-j65m changed 2024-02-16CC-BY-4.0
NVDCVE-2022-29042 changed 2026-06-17Public domain