CVE-2023-28679
Published: 02 April 2023
Summary
CVE-2023-28679 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Mashup Portlets. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 5.7% 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 (CWE-79) affecting the Jenkins Mashup Portlets Plugin in versions 1.1.2 and earlier. It arises from the "Generic JS Portlet" feature, which allows a user to supply a custom JavaScript expression that is stored and later rendered without adequate sanitization, producing a CVSS 5.4 vector of AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
Authenticated attackers holding Overall/Read permission can exploit the issue by creating a malicious portlet whose JavaScript payload executes in the browsers of other users who view the affected dashboard, enabling theft of session tokens or other limited client-side actions within the Jenkins context.
The Jenkins security advisory published on 2023-03-21 at https://www.jenkins.io/security/advisory/2023-03-21/#SECURITY-2813 describes the flaw and the steps required for mitigation.
EPSS for the CVE remains flat at a peak and current value of 0.1316, with no material post-disclosure rise observed.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-1321
Vulnerability details
Jenkins Mashup Portlets Plugin 1.1.2 and earlier provides the "Generic JS Portlet" feature that lets a user populate a portlet using a custom JavaScript expression, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by authenticated attackers with Overall/Read 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.