CVE-2023-25762
MEDIUM 5.4CVSS 3.1Cross-site Scripting in Jenkins Pipeline: Build Step Plugin
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.
- Published
- 15 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-9j65-3f2q-8q2r
- Sources
- NVDJSONOSV GHSA-9j65-3f2q-8q2rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | pipeline:_build_stepcpe:2.3:a:jenkins:pipeline\:_build_step:*:*:*:*:*:jenkins:*:* |
<= 2.18 | |
| OSV | Maven | org.jenkins-ci.plugins:pipeline-build-step | < 2.18.1 | 2.18.1 |
References
- http://www.openwall.com/lists/oss-security/2023/02/15/4 · Mailing List, Third Party Advisory, WEB
- https://www.jenkins.io/security/advisory/2023-02-15/#SECURITY-3019 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-25762 · ADVISORY
- https://github.com/jenkinsci/pipeline-build-step-plugin/commit/0eaf88a695244ddb69d16c11b96659167dbead92 · WEB
- https://github.com/jenkinsci/pipeline-build-step-plugin · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 15 Feb 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Feb 2023)