CVE-2022-27207
Published: 15 March 2022
Summary
CVE-2022-27207 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Global-Build-Stats. Its CVSS base score is 4.8 (Medium).
Operationally, ranked at the 43.9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
Deeper analysis
The vulnerability is a stored cross-site scripting flaw in the Jenkins global-build-stats Plugin versions 1.5 and earlier. Multiple fields in the chart configuration on the Global Build Stats page are not properly escaped, allowing malicious input to be persisted and later rendered in other users' browsers.
Attackers with Overall/Administer permission can exploit the issue by supplying crafted values in the affected configuration fields. Successful exploitation enables the attacker to execute arbitrary scripts in the context of other users who view the Global Build Stats page, potentially leading to limited confidentiality and integrity impacts within the Jenkins instance.
The Jenkins security advisory published on 2022-03-15 details the flaw under SECURITY-1886 and recommends that administrators update the global-build-stats Plugin to a version that properly escapes the configuration fields. Corresponding Openwall announcements reiterate the same upgrade guidance for affected Jenkins installations.
EPSS for the CVE rose from a low baseline to a peak of 0.0605 on 2025-12-11 before receding to the current value of 0.0021, indicating a period of increased exploitation interest well after initial disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-1569
Vulnerability details
Jenkins global-build-stats Plugin 1.5 and earlier does not escape multiple fields in the chart configuration on the 'Global Build Stats' page, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Overall/Administer 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.