{"id":"GHSA-8h77-3xwr-hqhh","summary":"Cross-site scripting in Jenkins Kiuwan Plugin","details":"Jenkins Kiuwan Plugin 1.6.0 and earlier does not escape query parameters in an error message for a form validation endpoint, resulting in a reflected cross-site scripting (XSS) vulnerability.\n\nOnly older releases of Jenkins are affected by this vulnerability. Jenkins 2.275 and newer, LTS 2.263.2 and newer include a protection preventing this from being exploitable.\n\nJenkins Kiuwan Plugin 1.6.1 escapes affected parts of the error message in the form validation endpoint.","aliases":["CVE-2021-21666"],"modified":"2024-02-16T08:04:55.161375Z","published":"2021-06-16T17:10:50Z","database_specific":{"nvd_published_at":"2021-06-10T15:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-06-14T19:19:42Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21666"},{"type":"WEB","url":"https://github.com/jenkinsci/kiuwan-plugin/commit/a5f6fdb1b8ad09d170547a4cc2b90c4829ef1f0a"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/kiuwan-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2021-06-10/#SECURITY-2367"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2021/06/10/14"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:kiuwanJenkinsPlugin","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/kiuwanJenkinsPlugin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"versions":["1.0","1.1","1.2","1.3.2","1.3.3","1.3.4","1.3.5","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.6","1.5.0","1.5.1","1.5.2","1.6.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-8h77-3xwr-hqhh/GHSA-8h77-3xwr-hqhh.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"}]}