{"id":"CVE-2022-29049","aliases":["CVE-2022-29049","GHSA-jmxr-w2jc-qp7w"],"related":[],"kind":"vulnerability","state":"published","title":"Promotion names in Jenkins promoted builds Plugin are not validated when using Job DSL","summary":"Jenkins promoted builds Plugin 873.v6149db_d64130 and earlier, except 3.10.1, does not validate the names of promotions defined in Job DSL, allowing attackers with Job/Configure permission to create a promotion with an unsafe name.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jenkins promoted builds Plugin 873.v6149db_d64130 and earlier, except 3.10.1, does not validate the names of promotions defined in Job DSL, allowing attackers with Job/Configure permission to create a promotion with an unsafe name.","source":"cvelist"},{"lang":"en","text":"Jenkins promoted builds Plugin provides dedicated support for defining promotions using [Job DSL Plugin](https://plugins.jenkins.io/job-dsl).\n\npromoted builds Plugin 873.v6149db_d64130 and earlier does not validate the names of promotions defined in Job DSL. This allows attackers with Job/Configure permission to create a promotion with an unsafe name. As a result, the promotion name could be used for cross-site scripting (XSS) or to replace other `config.xml` files.\n\npromoted builds Plugin 876.v99d29788b_36b_ and 3.10.1 validates the name of promotions.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jenkins promoted builds Plugin versiones 873.v6149db_d64130 y anteriores, excepto 3.10.1, no comprueba los nombres de las promociones definidas en Job DSL, lo que permite a atacantes con permiso de Job/Configure crear una promoción con un nombre no seguro","source":"nvd"}],"published":"2022-04-12T00:00:00.000Z","modified":"2026-06-17T04:39:30.253Z","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:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"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:L/Au:S/C:N/I:P/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-79"],"affected":[{"ranges":[{"version":"3.10.1","status":"unaffected"},{"type":"custom","introduced":"unspecified","lastAffected":"873.v6149db_d64130","status":"affected"}],"vendor":"Jenkins project","product":"Jenkins promoted builds Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.10.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:promoted-builds","purl":"pkg:maven/org.jenkins-ci.plugins/promoted-builds","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.11","status":"affected","fixed":"876.v99d29788b"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:promoted-builds","purl":"pkg:maven/org.jenkins-ci.plugins/promoted-builds","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.10.1"},{"status":"affected","introduced":"867.v7c3a_b_83a_eb_79","fixed":"876.v99d29788b_36b_"}],"vendor":"jenkins","product":"promoted_builds","cpe":"cpe:2.3:a:jenkins:promoted_builds:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-2655","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29049","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/promoted-builds-plugin/commit/d6fd95688ae2052bf9ac7158bc2579c755167fe0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/promoted-builds-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-29049","url":"https://www.cve.org/CVERecord?id=CVE-2022-29049","licence":"CVE Terms of Use","modified":"2024-08-03T06:10:58.886Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jmxr-w2jc-qp7w","url":"https://github.com/advisories/GHSA-jmxr-w2jc-qp7w","licence":"CC-BY-4.0","modified":"2024-02-16T08:15:40.160Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-29049","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29049","licence":"Public domain","modified":"2026-06-17T04:39:30.253Z"}],"updatedAt":"2026-11-25T22:58:10.601Z","epss":{"score":0.00816,"percentile":0.58246,"date":"2026-12-01T12:00:22.000Z"}}