{"id":"GHSA-hv48-hgp6-xpqf","summary":"Jenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability","details":"Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the Jenkins UI.\n\nThis results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control JUnit report file contents.\n\nFlaky Test Handler Plugin 1.2.3 escapes JUnit test contents when showing them on the Jenkins UI.","aliases":["CVE-2023-40342"],"modified":"2024-02-16T08:18:25.364857Z","published":"2023-08-16T15:30:18Z","database_specific":{"nvd_published_at":"2023-08-16T15:15:11Z","github_reviewed_at":"2023-08-16T21:12:56Z","github_reviewed":true,"cwe_ids":["CWE-79"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40342"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2023/08/16/3"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:flaky-test-handler","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/flaky-test-handler"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.2.0","1.2.1","1.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-hv48-hgp6-xpqf/GHSA-hv48-hgp6-xpqf.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}