CVE-2023-25762 json
Cross-site Scripting in Jenkins Pipeline: Build Step Plugin
published 2023-02-15 3 y ago modified 2026-06-17 4 mo ago also GHSA-9j65-3f2q-8q2r , EUVD-2023-0679
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 82.1%
- EPSS 82.1% chance of exploitation in 30 days, percentile 99.6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.jenkins-ci.plugins:pipeline-build-step 2.18.1
- jenkins ocp tools 4.13 2.414.3.1698292201-3.el8
- jenkins-2-plugins ocp tools 4.13 4.13.1698292274-1.el8
- jenkins ocp tools 4.14 2.426.3.1706516352-3.el8
- jenkins-2-plugins ocp tools 4.14 4.14.1706516441-1.el8
- jenkins ocp tools 4.12 2.414.3.1698293911-3.el8
- jenkins-2-plugins ocp tools 4.12 4.12.1698294000-1.el8
- jenkins ocp tools 4.11 2.414.3.1698298955-3.el8
- jenkins-2-plugins ocp tools 4.11 4.11.1698299029-1.el8
red hat advisories RHSA-2023:6179RHSA-2024:0777RHSA-2023:6172RHSA-2023:6171RHSA-2023:7288RHSA-2023:3299
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-25762 updated cvss 5.4
jenkins-2-plugins/pipeline-build-step: Stored XSS vulnerability in Pipeline: Build Step Plugin
-
Red Hat OpenShift Container Platform 3.11 jenkins-2-pluginsaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8 jenkins-2-plugins 4.11.1683009941-1.el8, jenkins-2-plugins 4.11.1698299029-1.el8, jenkins-2-plugins 4.11.1706516946-1.el8fixed: vendor fix RHSA-2023:3198
-
Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins-2-plugins 4.12.1683009955-1.el8, jenkins-2-plugins 4.12.1698294000-1.el8, jenkins-2-plugins 4.12.1706515741-1.el8fixed: vendor fix RHSA-2023:3195
-
Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins-2-plugins 4.13.1684911916-1.el8, jenkins-2-plugins 4.13.1698292274-1.el8, jenkins-2-plugins 4.13.1706516346-1.el8fixed: vendor fix RHSA-2023:3299
-
Red Hat OpenShift Developer Tools and Services for OCP 4.14 jenkins-2-plugins 4.14.1699356715-1.el8, jenkins-2-plugins 4.14.1706516441-1.el8fixed: vendor fix RHSA-2023:7288
-
Red Hat OpenShift Container Platform 4.10 jenkins-2-plugins 4.10.1681719745-1.el8fixed: vendor fix RHSA-2023:1866
-
Red Hat OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8 jenkins 2.387.1.1683009763-3.el8, jenkins 2.414.3.1698298955-3.el8, jenkins 2.426.3.1706516929-3.el8 Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins 2.387.1.1683009767-3.el8, jenkins 2.414.3.1698293911-3.el8, jenkins 2.426.3.1706515686-3.el8 Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins 2.387.3.1684911776-3.el8, jenkins 2.414.3.1698292201-3.el8, jenkins 2.426.3.1706516254-3.el8 Red Hat OpenShift Developer Tools and Services for OCP 4.14 jenkins 2.414.3.1699356615-3.el8, jenkins 2.426.3.1706516352-3.el8 Red Hat OpenShift Container Platform 4.10 jenkins 2.387.1.1681718871-1.el8, cri-o 1.23.5-10.rhaos4.10.gitcc8441d.el7, cri-o 1.23.5-10.rhaos4.10.gitcc8441d.el8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
82.13% chance of exploitation in the next 30 days, higher than 99.6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:pipeline-build-step | <2.18.1 |
2.18.1 |
Affected products
- Jenkins Project Jenkins Pipeline: Build Step Plugin
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/jenkinsci/pipeline-build-step-plugin/commit/0eaf88a695244ddb69d16c11b96659167dbead92
web
-
jenkins.io
/security/advisory/2023-02-15/#SECURITY-3019
web, vendor-advisory
-
openwall.com
/lists/oss-security/2023/02/15/4
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-25762
advisory
-
github.com
/jenkinsci/pipeline-build-step-plugin
package
Sources
- CVE List CVE-2023-25762
- GitHub Advisory GHSA-9j65-3f2q-8q2r
- NVD CVE-2023-25762
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.