CVE-2022-45382
Published: 15 November 2022
Summary
CVE-2022-45382 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Naginator. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 6.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The vulnerability CVE-2022-45382 is a stored cross-site scripting flaw in the Jenkins Naginator Plugin versions 1.18.1 and earlier. The component fails to escape display names of source builds when rendering builds triggered through the Retry action, allowing persistent script injection under CWE-79 with a CVSS 3.1 score of 5.4.
Attackers who can edit build display names are able to supply malicious content that executes in the browsers of other users viewing the affected builds. This grants limited impact on confidentiality and integrity within the Jenkins UI while requiring user interaction.
The Jenkins security advisory published on 2022-11-15 along with coordinated disclosures on the OpenWall oss-security list address the issue and direct administrators to apply the corresponding plugin update. The associated EPSS score has remained near 0.10 with only a modest peak of 0.1172.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-7357
Vulnerability details
Jenkins Naginator Plugin 1.18.1 and earlier does not escape display names of source builds in builds that were triggered via Retry action, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to edit build display names.
- 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.