{"id":"CVE-2023-40342","aliases":["CVE-2023-40342","GHSA-hv48-hgp6-xpqf"],"related":[],"kind":"vulnerability","state":"published","title":"Jenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2023-08-16T14:32:53.258Z","modified":"2026-06-17T06:17:19.323Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"maven","introduced":"0","lastAffected":"1.2.2","status":"affected"}],"vendor":"Jenkins Project","product":"Jenkins Flaky Test Handler Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.3"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:flaky-test-handler","purl":"pkg:maven/org.jenkins-ci.plugins/flaky-test-handler","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.2.2"}],"vendor":"jenkins","product":"flaky_test_handler","cpe":"cpe:2.3:a:jenkins:flaky_test_handler:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2023/08/16/3","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40342","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-08T18:31:18.717Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-40342","url":"https://www.cve.org/CVERecord?id=CVE-2023-40342","licence":"CVE Terms of Use","modified":"2024-10-08T18:31:29.153Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hv48-hgp6-xpqf","url":"https://github.com/advisories/GHSA-hv48-hgp6-xpqf","licence":"CC-BY-4.0","modified":"2024-02-16T08:18:25.364Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-40342","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40342","licence":"Public domain","modified":"2026-06-17T06:17:19.323Z"}],"updatedAt":"2026-11-25T22:58:27.177Z","epss":{"score":0.00602,"percentile":0.50161,"date":"2026-12-01T12:00:22.000Z"}}