{"id":"CVE-2022-29043","aliases":["CVE-2022-29043","GHSA-pjm3-f4vh-3h3h"],"related":[],"kind":"vulnerability","state":"published","title":"Stored Cross-site Scripting in Jenkins Mask Passwords Plugin","summary":"Jenkins Mask Passwords Plugin 3.0 and earlier does not escape the name and description of Non-Stored Password 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 Mask Passwords Plugin 3.0 and earlier does not escape the name and description of Non-Stored Password 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 Mask Passwords Plugin 3.0 and earlier does not escape the name and description of Non-Stored Password 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El plugin Jenkins Mask Passwords versiones 3.0 y anteriores, no escapan el nombre y la descripción de los parámetros Non-Stored Password en las visualizaciones que muestran parámetros, resultando en una vulnerabilidad de tipo cross-site scripting (XSS) almacenado explotable por atacantes con permiso Item/Configure","source":"nvd"}],"published":"2022-04-12T19:50:39.000Z","modified":"2026-06-17T04:39:29.620Z","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:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"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":"3.0","status":"affected"}],"vendor":"Jenkins project","product":"Jenkins Mask Passwords Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:mask-passwords","purl":"pkg:maven/org.jenkins-ci.plugins/mask-passwords","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"3.0"}],"vendor":"jenkins","product":"mask_passwords","cpe":"cpe:2.3:a:jenkins:mask_passwords:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-2617","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29043","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/mask-passwords-plugin/commit/55022b3f1935dc005c4075161c176b29bce7b849","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/mask-passwords-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-29043","url":"https://www.cve.org/CVERecord?id=CVE-2022-29043","licence":"CVE Terms of Use","modified":"2024-08-03T06:10:58.614Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pjm3-f4vh-3h3h","url":"https://github.com/advisories/GHSA-pjm3-f4vh-3h3h","licence":"CC-BY-4.0","modified":"2024-02-16T08:23:03.745Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-29043","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29043","licence":"Public domain","modified":"2026-06-17T04:39:29.620Z"}],"updatedAt":"2026-11-25T22:58:10.599Z","epss":{"score":0.0083,"percentile":0.58719,"date":"2026-12-02T12:00:21.000Z"}}