CVE-2023-25762Jenkins Pipeline: Build Step
Medium 5.4
Follow: this CVE · Jenkins · Jenkins Pipeline: Build Step We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 46
- Auth required
- Yes
- Published
- Feb 15, 2023
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
Jenkins Pipeline: Build Step Plugin 2.18 and earlier does not escape job names in a JavaScript expression used in the Pipeline Snippet Generator, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control job names.
What to do
- Apply the vendor's security update for Pipeline: Build Step.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.plugins:pipeline-build-step |
< 2.18.1 |
2.18.1 |
— |
Per OSV / GitHub Advisories (GHSA-9j65-3f2q-8q2r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | pipeline:_build_step | ≤ 2.18 |
Official advisories
- Red Hat Security Advisory: Red Hat Product OCP Tools 4.13 OpenShift Jenkins security update · Red Hat · RHSA-2023:6179 · Apr 4, 2026 Critical
- Red Hat Security Advisory: jenkins and jenkins-2-plugins security update · Red Hat · RHSA-2024:0777 · Oct 2, 2024 High
- Red Hat Security Advisory: Red Hat Product OCP Tools 4.12 Openshift Jenkins security update · Red Hat · RHSA-2023:6172 · Oct 2, 2024 Critical
Also: Red Hat (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- www.jenkins.io Vendor Advisory