{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-40342","published":"2023-08-16T15:15:11.753000Z","last_modified":"2026-06-17T06:17:19.323000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:jenkins:flaky_test_handler:*:*:*:*:*:jenkins:*:*","part":"a","vendor":"jenkins","product":"flaky_test_handler","version_end_including":"1.2.2"}],"cpes_truncated":false,"vendors":["jenkins"],"products":["jenkins/flaky_test_handler"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00632,"percentile":0.44836,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"server","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hv48-hgp6-xpqf","ecosystem":"Maven","name":"org.jenkins-ci.plugins:flaky-test-handler","purl":"pkg:maven/org.jenkins-ci.plugins/flaky-test-handler","ranges":[{"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"],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2023-40342/","html_en":"/en/cve/CVE-2023-40342/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-40342","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-40342"},"untrusted":{"vendor_name":"Jenkins","product_name":"Flaky Test Handler","desc_en":"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.","affected":[{"untrusted_vendor":"Jenkins Project","untrusted_product":"Jenkins Flaky Test Handler Plugin","versions":[]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2023/08/16/3","tags":["Mailing List","Third Party Advisory"]},{"url":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223","tags":["Vendor Advisory"]}]}}