Jenkins promoted builds Plugin provides dedicated support for defining promotions using Job DSL Plugin.
promoted 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.
promoted builds Plugin 876.v99d29788b36b and 3.10.1 validates the name of promotions.
{ "nvd_published_at": "2022-04-12T20:15:00Z", "cwe_ids": [ "CWE-20", "CWE-79" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2022-04-22T21:07:53Z" }