CVE-2023-39151
MEDIUM 5.4CVSS 3.1Jenkins Stored Cross-site Scripting vulnerability
Jenkins 2.415 and earlier, LTS 2.401.2 and earlier does not sanitize or properly encode URLs in build logs when transforming them into hyperlinks, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control build log contents.
- Published
- 26 Jul 2023
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-jenkins-2023-39151GHSA-69vw-3pcm-84rw
- Sources
- NVDJSONOSV GHSA-69vw-3pcm-84rwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:* |
<= 2.415 | |
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:* |
<= 2.401.2 | |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 2.402, < 2.414.1 | 2.414.1 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | < 2.401.3 | 2.401.3 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 2.415, < 2.416 | 2.416 |
References
- http://www.openwall.com/lists/oss-security/2023/07/26/2 · Mailing List, Third Party Advisory, WEB
- https://www.jenkins.io/security/advisory/2023-07-26/#SECURITY-3188 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-39151 · ADVISORY
- https://github.com/jenkinsci/jenkins/commit/1b9f1ccdbb7d00705b036d1332908fe52c2cd7ae · WEB
- https://github.com/CVEProject/cvelist/blob/975222d6e43b5b1296dbc8a67d03704a1d2554e8/2023/39xxx/CVE-2023-39151.json · WEB
- https://github.com/jenkinsci/jenkins · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 26 Jul 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Jul 2023)