{"id":"CVE-2021-21608","aliases":["BIT-jenkins-2021-21608","GHSA-wv63-gwr9-5c55"],"url":"https://o3.security/vulnerability/CVE-2021-21608","summary":"Stored XSS vulnerability in Jenkins button labels","details":"Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape button labels in the Jenkins UI.\n\nThis results in a cross-site scripting vulnerability exploitable by attackers with the ability to control button labels. An example of buttons with a user-controlled label are the buttons of the Pipeline `input` step.\n\nJenkins 2.275, LTS 2.263.2 escapes button labels in the Jenkins UI.","published":"2021-01-13T16:15:13.837Z","modified":"2026-07-08T21:25:44.684514Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.jenkins-ci.main:jenkins-core","fixedVersion":"2.275"},{"ecosystem":"Maven","name":"org.jenkins-ci.main:jenkins-core","fixedVersion":"2.275"}],"fix":{"url":"https://github.com/jenkinsci/jenkins/commit/8c451b08886561a914ef0c30cbb9d40ea33a9bbe","label":"jenkinsci/jenkins@8c451b0"},"references":[{"type":"ADVISORY","url":"https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2035"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21608"},{"type":"WEB","url":"https://github.com/jenkinsci/jenkins/commit/8c451b08886561a914ef0c30cbb9d40ea33a9bbe"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/jenkins"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T21:25:44.684514Z"}}