{"schema_version":"1.7.3","id":"GHSA-9j65-3f2q-8q2r","published":"2023-02-15T15:30:41Z","modified":"2024-02-16T08:02:23.294692Z","aliases":["CVE-2023-25762"],"summary":"Cross-site Scripting in Jenkins Pipeline: Build Step Plugin","details":"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":[{"package":{"name":"org.jenkins-ci.plugins:pipeline-build-step","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/pipeline-build-step"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1"}]}],"versions":["2.0","2.1","2.10","2.11","2.12","2.13","2.13.1","2.14","2.15","2.15.1","2.15.2","2.16","2.17","2.18","2.2","2.3","2.4","2.5","2.5.1","2.6","2.7","2.8","2.9"],"database_specific":{"last_known_affected_version_range":"<= 2.18","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-9j65-3f2q-8q2r/GHSA-9j65-3f2q-8q2r.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25762"},{"type":"WEB","url":"https://github.com/jenkinsci/pipeline-build-step-plugin/commit/0eaf88a695244ddb69d16c11b96659167dbead92"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/pipeline-build-step-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2023-02-15/#SECURITY-3019"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2023/02/15/4"}],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed":true,"github_reviewed_at":"2023-02-15T18:25:13Z","nvd_published_at":"2023-02-15T14:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}