{"id":"CVE-2023-40342","aliases":["EUVD-2023-2305","GHSA-hv48-hgp6-xpqf"],"status":"published","title":"Jenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability","description":"Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the Jenkins UI, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control JUnit report file contents.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00602,"percentile":0.49057,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2023-08-16T14:32:53Z","modified":"2026-10-24T10:30:24Z","fixes":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:flaky-test-handler","fixed_in":["1.2.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.plugins:flaky-test-handler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3"}]}]},{"source":"osv","ecosystem":"Maven","package":"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"]}],"products":[{"vendor":"jenkins","product":"flaky_test_handler"},{"vendor":"jenkins project","product":"jenkins flaky test handler plugin"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223","tags":["vendor-advisory","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/08/16/3","tags":["x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40342","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hv48-hgp6-xpqf"}],"sources":{"cve":[{"id":"CVE-2023-40342","description":"Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the Jenkins UI, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control JUnit report file contents.","status":"published","published":"2023-08-16T14:32:53.258Z","modified":"2024-10-08T18:31:29.153Z","updated_at":"2026-11-02T14:35:21.971258Z"}],"euvd":[{"id":"EUVD-2023-2305","description":"Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the Jenkins UI, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control JUnit report file contents.","status":"published","published":"2023-08-16T14:32:53Z","modified":"2024-10-08T18:31:29Z","cvss":[{"version":"","score":0,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"none"}],"updated_at":"2026-11-03T00:27:44.844048Z"}],"ghsa":[{"id":"GHSA-hv48-hgp6-xpqf","title":"Jenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability","description":"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.","status":"published","published":"2023-08-16T15:30:18Z","modified":"2023-11-11T05:06:18Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:20.311836Z"}],"nvd":[{"id":"CVE-2023-40342","description":"Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the Jenkins UI, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control JUnit report file contents.","status":"published","published":"2023-08-16T15:15:11.753Z","modified":"2026-06-17T06:17:19.323Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:08:24.487686Z"}],"osv":[{"id":"CVE-2023-40342","description":"Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the Jenkins UI, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control JUnit report file contents.","status":"published","published":"2023-08-16T15:15:11.753Z","modified":"2026-10-24T10:30:24.948224655Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:33.244128Z"},{"id":"GHSA-hv48-hgp6-xpqf","title":"Jenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability","description":"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.","status":"published","published":"2023-08-16T15:30:18Z","modified":"2024-02-16T08:18:25.364857Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:49.621585Z"}]}}
