{"id":"CVE-2021-21611","aliases":["BIT-jenkins-2021-21611","GHSA-mj7q-cmf3-mg7h"],"url":"https://o3.security/vulnerability/CVE-2021-21611","summary":"Stored XSS vulnerability in Jenkins on new item page","details":"Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape display names and IDs of item types shown on the New Item page.\n\nThis results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to specify display names or IDs of item types.\n\nAs of the publication of this advisory, the Jenkins security team is not aware of any plugins published via the Jenkins project update center that allow doing this.\nJenkins 2.275, LTS 2.263.2 escapes display names and IDs of item types shown on the New Item page.","published":"2021-01-13T16:15:14.087Z","modified":"2026-07-08T21:25:43.815375Z","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.263.2"},{"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-2171"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21611"},{"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:43.815375Z"}}