High

Promotion names in Jenkins promoted builds Plugin are not validated when using Job DSL

  • Disclosed: 13.04.2022
  • Updated: 11.10.2026 11:22

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.v99d29788b_36b_ and 3.10.1 validates the name of promotions.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.jenkins-ci.plugins:promoted-builds < 3.10.1, >= 3.11, < 876.v99d29788b 3.10.1, 876.v99d29788b

References

CVSS score 8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-20, CWE-79
Platform
Java / Kotlin (Maven)
Package
org.jenkins-ci.plugins:promoted-builds
Disclosed
13.04.2022
Updated
11.10.2026 11:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-jmxr-w2jc-qp7w - CC BY 4.0

Vulnerability history: org.jenkins-ci.plugins:promoted-builds

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
04.2022 05.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 2

Disclosures per year

  1. 2022: 4
  2. 2023: 0
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Medium · 4.3 CVE-2021-21641 < 3.9.1 3.9.1
  2. Promotion names in Jenkins promoted builds Plugin are not validated when using Job DSL this entry
    High · 8.0 CVE-2022-29049 < 3.10.1, >= 3.11, < 876.v99d29788b 3.10.1, 876.v99d29788b
  3. High · 8.0 CVE-2022-29045 < 3.10.1, >= 3.11, < 876.v99d29788b 3.10.1, 876.v99d29788b

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.