CVE-2022-34185
Published: 23 June 2022
Summary
CVE-2022-34185 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Date Parameter. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 5.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Jenkins Date Parameter Plugin 0.0.4 and earlier is affected by a stored cross-site scripting vulnerability tracked as CVE-2022-34185. The root cause is missing output escaping for the name and description fields of Date parameters when those parameters are rendered on views, which maps to CWE-79 and carries a CVSS 3.1 score of 5.4.
An attacker who already possesses Item/Configure permission on a Jenkins item can supply a malicious payload in a Date parameter's name or description. When another user subsequently views the parameter configuration, the payload executes in the victim's browser context, enabling limited confidentiality and integrity impacts within the Jenkins instance.
The official Jenkins security advisory published on 2022-06-22 details the issue under SECURITY-2784 and is the authoritative source for mitigation steps. Exploitation probability, as measured by EPSS, rose from lower values at disclosure to a peak of 0.2585 in December 2025 before receding to the current 0.1390, indicating a clear post-disclosure increase in observed exploitation interest.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-5942
Vulnerability details
Jenkins Date Parameter Plugin 0.0.4 and earlier does not escape the name and description of Date 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.