{"id":"CVE-2023-25762","published":"2023-02-15T00:00:00Z","modified":"2025-03-19T18:48:35Z","title":"Jenkins Pipeline: Build Step Plugin 2.18 and earlier does not escape job names in a JavaScript expression used in the…","vendor":"Jenkins Project","product":"Jenkins Pipeline: Build Step Plugin","tier":"core","eol":null,"affectedVersions":[{"vendor":"Jenkins Project","product":"Jenkins Pipeline: Build Step Plugin","versions":[">= unspecified, <= 2.18"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The Jenkins Pipeline: Build Step Plugin (version 2.18 and earlier) fails to escape job names within a JavaScript expression in the Pipeline Snippet Generator, creating a stored cross-site scripting flaw. An attacker who can control job names can plant script that executes in the browser of a user who views the affected page, and this requires the attacker to hold the ability to name jobs (low privileges) and a user to interact with the page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:22:32Z"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.82131,"percentile":0.99653,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2023-02-15/#SECURITY-3019","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/15/4","tags":["mailing-list"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:pipeline-build-step","vulnerableRanges":["<2.18.1"],"patched":["2.18.1"],"from":["GHSA-9j65-3f2q-8q2r"],"provenance":"source"}],"advisories":[{"id":"GHSA-9j65-3f2q-8q2r","url":"https://github.com/advisories/GHSA-9j65-3f2q-8q2r","severity":"MODERATE","ecosystem":"Maven","package":"org.jenkins-ci.plugins:pipeline-build-step","vulnerableRanges":["<2.18.1"],"patched":["2.18.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2023-0679","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-0679","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-02-15","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-25762","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":23.7,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.93,"detail":"percentile 0.9965"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":3.78,"detail":"base score 5.4"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-jenkins-pipeline-build-step-plugin-cve-2022-25184","parents":[{"from":"CVE-2022-25184","to":"CVE-2023-25762","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jenkins-ci.plugins:pipeline-build-step","fromFixed":"2.15.1","toFixed":"2.18.1","daysApart":365},{"kind":"same-code","provenance":"machine","files":["src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStep.java"],"commits":["https://github.com/jenkinsci/pipeline-build-step-plugin/commit/c06f65425fe9696d2237f591959dd4b5c6083fd9","https://github.com/jenkinsci/pipeline-build-step-plugin/commit/0eaf88a695244ddb69d16c11b96659167dbead92"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.51,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2020-2118","published":"2020-02-12","fixed":"1.0.5","kev":false},{"cve":"CVE-2017-1000089","published":"2017-10-04","fixed":"2.5.1","kev":false},{"cve":"CVE-2022-25184","published":"2022-02-15","fixed":"2.15.1","kev":false},{"cve":"CVE-2023-25762","published":"2023-02-15","fixed":"2.18.1","kev":false}],"package":"Maven:org.jenkins-ci.plugins:pipeline-build-step"}}