{"id":"CVE-2022-34198","aliases":["CVE-2022-34198","GHSA-88r9-hfj2-54hv"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting in Jenkins Stash Branch Parameter Plugin","summary":"Jenkins Stash Branch Parameter Plugin 0.3.0 and earlier does not escape the name and description of Stash Branch 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 Stash Branch Parameter Plugin 0.3.0 and earlier does not escape the name and description of Stash Branch 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 Stash Branch Parameter Plugin 0.3.0 and earlier does not escape the name and description of Stash Branch parameters on views displaying parameters, resulting in a stored cross-site scripting (XSS) vulnerability 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 Stash Branch Parameter Plugin 0.3.0 y anteriores, no escapa del nombre y la descripción de los parámetros Stash Branch en las visualizaciones que muestran los parámetros, resultando en una vulnerabilidad de tipo cross-site scripting (XSS) almacenados, explotable por atacantes con permiso Item/Configure","source":"nvd"}],"published":"2022-06-22T14:41:33.000Z","modified":"2026-06-17T04:49:53.090Z","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":"0.3.0","status":"affected"},{"type":"custom","introduced":"next of 0.3.0","fixed":"unspecified","status":"unknown"}],"vendor":"Jenkins project","product":"Jenkins Stash Branch Parameter Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.3.0"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:StashBranchParameter","purl":"pkg:maven/org.jenkins-ci.plugins/StashBranchParameter","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.3.0"}],"vendor":"jenkins","product":"stash_branch_parameter","cpe":"cpe:2.3:a:jenkins:stash_branch_parameter:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2784","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34198","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/stash-branch-parameters-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-34198","url":"https://www.cve.org/CVERecord?id=CVE-2022-34198","licence":"CVE Terms of Use","modified":"2024-08-03T08:16:17.307Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-88r9-hfj2-54hv","url":"https://github.com/advisories/GHSA-88r9-hfj2-54hv","licence":"CC-BY-4.0","modified":"2023-11-08T04:09:43.771Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-34198","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34198","licence":"Public domain","modified":"2026-06-17T04:49:53.090Z"}],"updatedAt":"2026-11-25T22:58:12.516Z","epss":{"score":0.00783,"percentile":0.57197,"date":"2026-12-01T12:00:22.000Z"}}