PT-2023-21897 · Jenkins · Jenkins Cppcheck Plugin+1
Daniel Beck
+1
·
Published
2023-03-23
·
Updated
2025-02-25
·
CVE-2023-28678
CVSS v3.1
8.0
High
| Vector | AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Jenkins Cppcheck Plugin versions 1.26 and earlier
Description
The issue results in a stored cross-site scripting (XSS) vulnerability. This occurs because the plugin does not escape file names from Cppcheck report files before showing them on the Jenkins UI. Attackers who can control report file contents can exploit this issue.
Recommendations
For Jenkins Cppcheck Plugin versions 1.26 and earlier, update to a version later than 1.26 to resolve the issue. As a temporary workaround, consider restricting access to the Jenkins UI to minimize the risk of exploitation.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins
Jenkins Cppcheck Plugin