CVE-2023-25762
Mediumjenkins-2-plugins/pipeline-build-step: Stored XSS vulnerability in Pipeline: Build Step Plugin
Published May 18, 2023 · Updated Jul 9, 2026 · Also known as GHSA-9j65-3f2q-8q2r
Key Facts
Patch immediately- CVE-2023-25762 is a medium-severity vulnerability (CVSS 5.4 v3.1) affecting Pipeline\ (Jenkins), org.jenkins-ci.plugins:pipeline-build-step (maven), jenkins (redhat) and 1 more product.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 81% probability of exploitation in the next 30 days.
- Fixed versions are available, including jenkins 2-plugins-0:4.13.1698292274-1.el8, Pipeline\ <=2.18, org.jenkins-ci.plugins:pipeline-build-step 2.18.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
81%
Higher than 99.6% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2023-25762 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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.
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Pipeline\Jenkins | _build_step | 2.18 |
| org.jenkins-ci.plugins:pipeline-build-stepmaven | See advisory | 2.18.1 |
| jenkinsredhat | See advisory | 2-plugins-0:4.13.1698292274-1.el8 |
| Jenkins Pipeline: Build Step Plugin | >= unspecified | n/a |
Patched Releases
jenkins
2-plugins-0:4.13.1698292274-1.el8
Pipeline\
<=2.18
org.jenkins-ci.plugins:pipeline-build-step
2.18.1
Timeline
Publicly disclosed
May 18, 2023
Last updated
Jul 9, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- advisoryRHSA-2023:1866
- advisoryRHSA-2023:3195
- advisoryRHSA-2023:3198
- advisoryRHSA-2023:3299
- advisoryRHSA-2023:6171
FAQ
Common Questions.
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.
Affected: Pipeline\ (Jenkins) versions _build_step; org.jenkins-ci.plugins:pipeline-build-step (maven); jenkins (redhat), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including jenkins 2-plugins-0:4.13.1698292274-1.el8, Pipeline\ <=2.18, org.jenkins-ci.plugins:pipeline-build-step 2.18.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2023-25762 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo