{"id":"CVE-2022-29043","aliases":["GHSA-pjm3-f4vh-3h3h"],"url":"https://o3.security/vulnerability/CVE-2022-29043","summary":"Stored Cross-site Scripting in Jenkins Mask Passwords Plugin","details":"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.","published":"2022-04-12T20:15:09.420Z","modified":"2026-07-09T05:41:11.493926Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.jenkins-ci.plugins:mask-passwords","fixedVersion":"3.1"}],"fix":{"url":"https://github.com/jenkinsci/mask-passwords-plugin/commit/55022b3f1935dc005c4075161c176b29bce7b849","label":"jenkinsci/mask-passwords-plugin@55022b3"},"references":[{"type":"ADVISORY","url":"https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-2617"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29043"},{"type":"WEB","url":"https://github.com/jenkinsci/mask-passwords-plugin/commit/55022b3f1935dc005c4075161c176b29bce7b849"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/mask-passwords-plugin"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T05:41:11.493926Z"}}