{"id":"CVE-2022-30967","aliases":["CVE-2022-30967","GHSA-mw4r-5mfc-m5vc"],"related":[],"kind":"vulnerability","state":"published","title":"Cross site scripting in Jenkins Selection tasks Plugin","summary":"Jenkins Selection tasks Plugin 1.0 and earlier does not escape the name and description of Script Selection task variable parameters on views displaying parameters, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jenkins Selection tasks Plugin 1.0 and earlier does not escape the name and description of Script Selection task variable parameters on views displaying parameters, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.","source":"cvelist"},{"lang":"en","text":"Jenkins Selection tasks Plugin 1.0 and earlier does not escape the name and description of Script Selection task variable parameters on views displaying parameters. This results in stored cross-site scripting (XSS) vulnerabilities exploitable by attackers with Item/Configure permission.\n\nExploitation of this vulnerability requires that parameters are listed on another page, like the \\\"Build With Parameters\\\" and \\\"Parameters\\\" pages provided by Jenkins (core), and that those pages are not hardened to prevent exploitation. Jenkins (core) has prevented exploitation of vulnerabilities of this kind on the \\\"Build With Parameters\\\" and \\\"Parameters\\\" pages since 2.44 and LTS 2.32.2 as part of the [SECURITY-353 / CVE-2017-2601](https://www.jenkins.io/security/advisory/2017-02-01/#persisted-cross-site-scripting-vulnerability-in-parameter-names-and-descriptions) fix. Additionally, several plugins have previously been updated to list parameters in a way that prevents exploitation by default, see [SECURITY-2617 in the 2022-04-12 security advisory for a list](https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-2617).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jenkins Selection tasks Plugin versiones 1.0 y anteriores, no escapa del nombre y la descripción de los parámetros de la variable de la tarea Script Selection en las vistas que muestran los parámetros, resultando en una vulnerabilidad de tipo cross-site scripting (XSS) almacenada que puede ser explotada por atacantes con permiso de Item/Configure","source":"nvd"}],"published":"2022-05-17T14:06:50.000Z","modified":"2026-06-17T04:44:32.340Z","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:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"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"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"1.0","status":"affected"},{"type":"custom","introduced":"next of 1.0","fixed":"unspecified","status":"unknown"}],"vendor":"Jenkins project","product":"Jenkins Selection tasks Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.0"}],"ecosystem":"Maven","package":"org.jvnet.hudson.plugins:selection-tasks-plugin","purl":"pkg:maven/org.jvnet.hudson.plugins/selection-tasks-plugin","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.0"}],"vendor":"jenkins","product":"selection_tasks","cpe":"cpe:2.3:a:jenkins:selection_tasks:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2717","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30967","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/selection-tasks-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-30967","url":"https://www.cve.org/CVERecord?id=CVE-2022-30967","licence":"CVE Terms of Use","modified":"2024-08-03T07:03:39.855Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mw4r-5mfc-m5vc","url":"https://github.com/advisories/GHSA-mw4r-5mfc-m5vc","licence":"CC-BY-4.0","modified":"2023-11-08T04:09:21.678Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-30967","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30967","licence":"Public domain","modified":"2026-06-17T04:44:32.340Z"}],"updatedAt":"2026-11-25T22:58:11.756Z","epss":{"score":0.00786,"percentile":0.57315,"date":"2026-12-01T12:00:22.000Z"}}