{"id":"CVE-2021-21608","aliases":["CVE-2021-21608","GHSA-wv63-gwr9-5c55","BIT-JENKINS-2021-21608"],"related":[],"kind":"vulnerability","state":"published","title":"Stored XSS vulnerability in Jenkins button labels","summary":"Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape button labels in the Jenkins UI, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with the ability to control button labels.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape button labels in the Jenkins UI, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with the ability to control button labels.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jenkins versiones 2.274 y anteriores, LTS versiones 2.263.1 y  anteriores, no escapan las etiquetas de los botones en la Interfaz de Usuario de Jenkins, resultando en una vulnerabilidad de tipo cross-site scripting (XSS) explotable por unos atacantes con la habilidad de controlar unas etiquetas de unos botones.","source":"nvd"}],"published":"2021-01-13T15:55:30.000Z","modified":"2026-09-08T08:48:00.859Z","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:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"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":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"2.274","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"LTS 2.263.1","status":"affected"}],"vendor":"Jenkins project","product":"Jenkins","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.275"}],"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.263.2","status":"affected","fixed":"2.275"}],"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.263.1"},{"status":"affected","lastAffected":"2.274"}],"vendor":"jenkins","product":"jenkins","cpe":"cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.274.1"}],"ecosystem":"Bitnami","package":"jenkins","purl":"pkg:bitnami/jenkins","source":"bitnami"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2035","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21608","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/jenkinsci/jenkins/commit/8c451b08886561a914ef0c30cbb9d40ea33a9bbe","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/jenkins","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21608","url":"https://www.cve.org/CVERecord?id=CVE-2021-21608","licence":"CVE Terms of Use","modified":"2024-08-03T18:16:23.633Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wv63-gwr9-5c55","url":"https://github.com/advisories/GHSA-wv63-gwr9-5c55","licence":"CC-BY-4.0","modified":"2024-02-16T08:13:06.078Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21608","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21608","licence":"Public domain","modified":"2026-06-17T03:35:51.950Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-JENKINS-2021-21608","url":"https://osv.dev/vulnerability/BIT-JENKINS-2021-21608","licence":"Apache-2.0","modified":"2026-09-08T08:48:00.859Z"}],"updatedAt":"2026-11-25T22:57:59.353Z","epss":{"score":0.01041,"percentile":0.64963,"date":"2026-12-01T12:00:22.000Z"}}