CVE-2024-28156
Published: 06 March 2024
Summary
CVE-2024-28156 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Build Monitor View. Its CVSS base score is 5.4 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Browser Session Hijacking (T1185); ranked in the top 2.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Jenkins Build Monitor View Plugin version 1.14-860.vd06ef2568b_3f and earlier contains a stored cross-site scripting vulnerability tracked as CVE-2024-28156. The root cause is insufficient escaping of Build Monitor View names, which are persisted and later rendered without sanitization, allowing script injection under CWE-79. The issue carries a CVSS 3.1 score of 5.4.
Attackers who can configure Build Monitor Views are able to store malicious payloads that execute in the browsers of other users who view the affected pages, resulting in limited impacts to confidentiality and integrity with no availability effect.
The Jenkins security advisory published on 2024-03-06 along with the corresponding oss-security mailing list postings describe the flaw and direct administrators to the plugin update that resolves SECURITY-3280. The associated EPSS score has reached a peak of 0.4462 with a current value of 0.3890.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0830
Vulnerability details
Jenkins Build Monitor View Plugin 1.14-860.vd06ef2568b_3f and earlier does not escape Build Monitor View names, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to configure Build Monitor Views.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Stored XSS in Build Monitor View names enables injection of JavaScript to steal web session cookies and hijack browser sessions of other Jenkins users viewing the views.
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.