CVE-2022-29038
Published: 12 April 2022
Summary
CVE-2022-29038 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Extended Choice Parameter. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 39.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
Jenkins Extended Choice Parameter Plugin 346.vd87693c5a_86c and earlier contains a stored cross-site scripting vulnerability because the plugin fails to escape the name and description fields of Extended Choice parameters when rendering parameter views. The affected component is the Jenkins plugin that supplies these parameter types for build jobs.
Attackers holding Item/Configure permission can supply malicious content in the parameter name or description, which is then persisted and executed in the browsers of other users who later view the parameter configuration. The CVSS 5.4 vector reflects network access, low attack complexity, and required user interaction, with impacts limited to limited confidentiality and integrity loss in a changed scope.
The Jenkins security advisory published on 2022-04-12 at https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-2617 documents the issue. Exploitation probability rose sharply from a low baseline to a peak of 0.2958 before receding to the current value of 0.0039, indicating that interest in the vulnerability increased after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-1743
Vulnerability details
Jenkins Extended Choice Parameter Plugin 346.vd87693c5a_86c and earlier does not escape the name and description of Extended Choice parameters on views displaying parameters, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.