{"id":"CVE-2023-39151","aliases":["CVE-2023-39151","GHSA-69vw-3pcm-84rw","BIT-JENKINS-2023-39151"],"related":[],"kind":"vulnerability","state":"published","title":"Jenkins Stored Cross-site Scripting vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Jenkins applies formatting to the console output of builds, transforming plain URLs into hyperlinks. Jenkins 2.415 and earlier, 2.414 and earlier, and LTS 2.401.2 and earlier does not sanitize or properly encode URLs of these hyperlinks in build logs. This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control build log contents. Jenkins 2.416, 2.414.1, and LTS 2.401.3 encodes URLs of affected hyperlink annotations in build logs.","format":"markdown","source":"ghsa"}],"published":"2023-07-26T13:54:52.297Z","modified":"2026-09-08T08:47:57.702Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"maven","introduced":"2.416","fixed":"*","status":"unaffected"},{"type":"maven","introduced":"2.401.3","fixed":"2.401.*","status":"unaffected"},{"type":"maven","introduced":"2.414.1","fixed":"2.414.*","status":"unaffected"}],"vendor":"Jenkins Project","product":"Jenkins","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.402","status":"affected","fixed":"2.414.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.401.3"}],"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.415","status":"affected","fixed":"2.416"}],"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.415"},{"status":"affected","lastAffected":"2.401.2"}],"vendor":"jenkins","product":"jenkins","cpe":"cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.415.1"}],"ecosystem":"Bitnami","package":"jenkins","purl":"pkg:bitnami/jenkins","source":"bitnami"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2023-07-26/#SECURITY-3188","tags":["advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/26/2","tags":["advisory","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39151","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/jenkinsci/jenkins/commit/1b9f1ccdbb7d00705b036d1332908fe52c2cd7ae","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/CVEProject/cvelist/blob/975222d6e43b5b1296dbc8a67d03704a1d2554e8/2023/39xxx/CVE-2023-39151.json","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/jenkins","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-21T21:06:38.772Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-39151","url":"https://www.cve.org/CVERecord?id=CVE-2023-39151","licence":"CVE Terms of Use","modified":"2024-10-21T21:09:19.899Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-69vw-3pcm-84rw","url":"https://github.com/advisories/GHSA-69vw-3pcm-84rw","licence":"CC-BY-4.0","modified":"2024-02-16T08:11:20.529Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-39151","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39151","licence":"Public domain","modified":"2026-06-17T06:11:38.300Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-JENKINS-2023-39151","url":"https://osv.dev/vulnerability/BIT-JENKINS-2023-39151","licence":"Apache-2.0","modified":"2026-09-08T08:47:57.702Z"}],"updatedAt":"2026-11-25T22:58:26.515Z","epss":{"score":0.00996,"percentile":0.63661,"date":"2026-12-01T12:00:22.000Z"}}