{"id":"GHSA-gchq-9r68-6jwv","summary":"Cross-Site Request Forgery in Jenkins Credentials Plugin","details":"Jenkins Credentials Plugin prior to 2.3.19, 2.3.15.1, 2.3.14.1, 2.3.13.1, 2.3.7.1, and 2.3.0.1 does not escape user-controlled information on a view it provides, resulting in a reflected cross-site scripting (XSS) vulnerability.\n\nJenkins Credentials Plugin 2.3.19, 2.3.15.1, 2.3.14.1, 2.3.13.1, 2.3.7.1, and 2.3.0.1 restricts the user-controlled information it provides to a safe subset.","aliases":["CVE-2021-21648"],"modified":"2024-01-02T05:50:48.902115Z","published":"2021-06-16T17:24:31Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-05-19T19:18:23Z","nvd_published_at":"2021-05-11T15:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21648"},{"type":"WEB","url":"https://github.com/jenkinsci/credentials-plugin/commit/41f3ec1143f80a7e80ab9a4a5f861f26fd3792cc"},{"type":"WEB","url":"https://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2021/21xxx/CVE-2021-21648.json"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/credentials-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2021-05-11/#SECURITY-2349"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:credentials","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/credentials"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.16"},{"fixed":"2.3.19"}]}],"versions":["2.3.17","2.3.18"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-gchq-9r68-6jwv/GHSA-gchq-9r68-6jwv.json"}},{"package":{"name":"org.jenkins-ci.plugins:credentials","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/credentials"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.15"},{"fixed":"2.3.15.1"}]}],"versions":["2.3.15"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-gchq-9r68-6jwv/GHSA-gchq-9r68-6jwv.json"}},{"package":{"name":"org.jenkins-ci.plugins:credentials","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/credentials"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.14"},{"fixed":"2.3.14.1"}]}],"versions":["2.3.14"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-gchq-9r68-6jwv/GHSA-gchq-9r68-6jwv.json"}},{"package":{"name":"org.jenkins-ci.plugins:credentials","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/credentials"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.8"},{"fixed":"2.3.13.1"}]}],"versions":["2.3.10","2.3.11","2.3.12","2.3.13","2.3.8","2.3.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-gchq-9r68-6jwv/GHSA-gchq-9r68-6jwv.json"}},{"package":{"name":"org.jenkins-ci.plugins:credentials","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/credentials"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1"},{"fixed":"2.3.7.1"}]}],"versions":["2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-gchq-9r68-6jwv/GHSA-gchq-9r68-6jwv.json"}},{"package":{"name":"org.jenkins-ci.plugins:credentials","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/credentials"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0.1"}]}],"versions":["1.0","1.1","1.10","1.11","1.12","1.13","1.14","1.15","1.16","1.16.1","1.17","1.18","1.19","1.2","1.20","1.21","1.22","1.23","1.24","1.25","1.26","1.27","1.28","1.3","1.3.1","1.4","1.5","1.6","1.7","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.8","1.8.1","1.8.2","1.8.3","1.8.4","1.9","1.9.1","1.9.2","1.9.3","1.9.4","2.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.1.0","2.1.1","2.1.10","2.1.11","2.1.12","2.1.13","2.1.14","2.1.15","2.1.16","2.1.17","2.1.18","2.1.19","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9","2.2.0","2.2.1","2.3.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-gchq-9r68-6jwv/GHSA-gchq-9r68-6jwv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}