Cyber Resilience

CVE-2023-28678

Medium

Published: 02 April 2023

Published
02 April 2023
Modified
25 February 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.0898 92.8th percentile
Risk Priority 16 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2023-28678 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Cppcheck. Its CVSS base score is 5.4 (Medium).

Operationally, ranked in the top 7.2% 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 Cppcheck Plugin in versions 1.26 and earlier. The plugin fails to escape file names extracted from Cppcheck report files before rendering them in the Jenkins UI, allowing untrusted content to be displayed without proper sanitization. It carries a CVSS 3.1 score of 5.4.

Attackers able to control the contents of Cppcheck report files can supply malicious payloads in file names that execute when other users view the reports in Jenkins. Successful exploitation permits stored XSS attacks that can lead to limited impacts on confidentiality and integrity within the Jenkins instance, requiring low privileges and some user interaction.

The Jenkins security advisory published on March 21, 2023, addresses the issue under SECURITY-2809 and directs users to apply the available plugin update that resolves the lack of escaping. The current EPSS score of 0.0898, following a modest peak of 0.1119, indicates limited observed exploitation interest.

EU & UK References

Vulnerability details

Jenkins Cppcheck Plugin 1.26 and earlier does not escape file names from Cppcheck report files before showing them on the Jenkins UI, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control report file contents.

CWE(s)

Related Threats

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

Affected Assets

jenkins
cppcheck
≤ 1.26

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