CVE-2022-34197
Published: 23 June 2022
Summary
CVE-2022-34197 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Sauce Ondemand. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 3.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The vulnerability CVE-2022-34197 is a stored cross-site scripting flaw affecting the Jenkins Sauce OnDemand Plugin in versions 1.204 and earlier. It arises because the plugin fails to escape the name and description of Sauce Labs Browsers parameters when those values are rendered on views that display parameters, corresponding to CWE-79 and carrying a CVSS 3.1 score of 5.4.
Attackers who hold Item/Configure permission can supply crafted values in the affected parameter fields. Once saved, the malicious content executes in the browsers of other users who later view the parameter display, allowing limited theft or manipulation of data within the Jenkins application.
The Jenkins project published an advisory on 2022-06-22 under identifier SECURITY-2784 that covers this issue; the advisory is referenced at https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2784.
The associated EPSS score reached a peak of 0.2958 and has remained at that level with no material upward movement after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-6026
Vulnerability details
Jenkins Sauce OnDemand Plugin 1.204 and earlier does not escape the name and description of Sauce Labs Browsers 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.