{"id":"GHSA-j927-269r-96xw","summary":"Jenkins Cppcheck Plugin vulnerable to stored cross-site scripting (XSS)","details":"Jenkins Cppcheck Plugin 1.26 and earlier does not escape file names from Cppcheck report files before showing them on the Jenkins UI.\n\nThis results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control report file contents.","aliases":["CVE-2023-28678"],"modified":"2025-02-25T22:22:53.902174Z","published":"2023-04-02T21:30:17Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-04-04T16:19:20Z","nvd_published_at":"2023-04-02T21:15:00Z","cwe_ids":["CWE-79"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28678"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/cppcheck-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2023-03-21/#SECURITY-2809"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:cppcheck","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/cppcheck"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.26"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.1","1.10","1.11","1.12","1.13","1.14","1.15","1.16","1.18","1.19","1.2","1.20","1.21","1.22","1.23","1.24","1.25","1.26","1.3","1.4","1.5","1.6","1.7","1.8","1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-j927-269r-96xw/GHSA-j927-269r-96xw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}