{"id":"CVE-2022-29049","aliases":["GHSA-jmxr-w2jc-qp7w"],"url":"https://o3.security/vulnerability/CVE-2022-29049","summary":"Promotion names in Jenkins promoted builds Plugin are not validated when using Job DSL","details":"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.","published":"2022-04-12T20:15:09.713Z","modified":"2026-07-09T05:41:11.172566Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.00816,"percentile":0.55392,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.jenkins-ci.plugins:promoted-builds","fixedVersion":"3.10.1"},{"ecosystem":"Maven","name":"org.jenkins-ci.plugins:promoted-builds","fixedVersion":"876.v99d29788b"}],"fix":{"url":"https://github.com/jenkinsci/promoted-builds-plugin/commit/d6fd95688ae2052bf9ac7158bc2579c755167fe0","label":"jenkinsci/promoted-builds-plugin@d6fd956"},"references":[{"type":"ADVISORY","url":"https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-2655"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29049"},{"type":"WEB","url":"https://github.com/jenkinsci/promoted-builds-plugin/commit/d6fd95688ae2052bf9ac7158bc2579c755167fe0"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/promoted-builds-plugin"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T05:41:11.172566Z"}}