Cyber Resilience

CVE-2022-45387

Medium

Published: 15 November 2022

Published
15 November 2022
Modified
30 April 2025
KEV Added
Patch
CVSS Score v3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.1345 94.4th percentile
Risk Priority 19 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-45387 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Bart. Its CVSS base score is 5.4 (Medium).

Operationally, ranked in the top 5.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

The vulnerability is a stored cross-site scripting flaw, tracked as CVE-2022-45387, that affects the Jenkins BART Plugin in versions 1.0.3 and earlier. The root cause is the plugin's failure to escape parsed content from build logs before rendering that content in the Jenkins user interface, allowing attacker-controlled data to be treated as executable script.

An attacker with permission to influence build logs can store a malicious payload that executes in the browsers of other users who view the affected pages. The CVSS 5.4 vector indicates the attack requires low-privileged access and user interaction, yet the impact crosses trust boundaries and can result in limited confidentiality and integrity compromise within the Jenkins instance.

The Jenkins security advisory published on 2022-11-15 under SECURITY-2802, along with the corresponding oss-security mailing list postings, describe the issue and direct administrators to the available plugin update that resolves the missing output encoding. The associated EPSS score has remained flat at 0.1345 with no material increase since disclosure.

EU & UK References

Vulnerability details

Jenkins BART Plugin 1.0.3 and earlier does not escape the parsed content of build logs before rendering it on the Jenkins UI, resulting in a stored cross-site scripting (XSS) vulnerability.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

jenkins
bart
≤ 1.0.3

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.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References