{"id":"CVE-2022-29042","aliases":["CVE-2022-29042","GHSA-f3jq-9c79-j65m"],"related":[],"kind":"vulnerability","state":"published","title":"Stored Cross-site Scripting vulnerability in Jenkins Job Generator Plugin","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\nExploitation 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](https://www.jenkins.io/security/advisory/2017-02-01/#persisted-cross-site-scripting-vulnerability-in-parameter-names-and-descriptions) fix.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2022-04-12T19:50:38.000Z","modified":"2026-06-17T04:39:29.527Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"1.22","status":"affected"},{"type":"custom","introduced":"next of 1.22","fixed":"unspecified","status":"unknown"}],"vendor":"Jenkins project","product":"Jenkins Job Generator Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.22"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:jobgenerator","purl":"pkg:maven/org.jenkins-ci.plugins/jobgenerator","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.22"}],"vendor":"jenkins","product":"job_generator","cpe":"cpe:2.3:a:jenkins:job_generator:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-2617","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29042","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/jobgenerator-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-29042","url":"https://www.cve.org/CVERecord?id=CVE-2022-29042","licence":"CVE Terms of Use","modified":"2024-08-03T06:10:58.632Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f3jq-9c79-j65m","url":"https://github.com/advisories/GHSA-f3jq-9c79-j65m","licence":"CC-BY-4.0","modified":"2024-02-16T08:24:49.402Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-29042","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29042","licence":"Public domain","modified":"2026-06-17T04:39:29.527Z"}],"updatedAt":"2026-11-25T22:58:10.598Z","epss":{"score":0.0083,"percentile":0.58679,"date":"2026-12-01T12:00:22.000Z"}}