{"id":"CVE-2023-40342","details":"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.","aliases":["GHSA-hv48-hgp6-xpqf"],"modified":"2026-04-12T08:01:22.792772Z","published":"2023-08-16T15:15:11.753Z","references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2023/08/16/3"},{"type":"ADVISORY","url":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jenkinsci/flaky-test-handler-plugin","events":[{"introduced":"0"},{"last_affected":"c71b82ab3318f7f600c39a2aef19daf64dbb69a2"}],"database_specific":{"cpe":"cpe:2.3:a:jenkins:flaky_test_handler:*:*:*:*:*:jenkins:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.2.2"}],"source":"CPE_FIELD"}}],"versions":["1.0.0","flaky-test-handler-1.0.1-fix-deprecated-code","flaky-test-handler-1.0.2","flaky-test-handler-1.0.2-2","flaky-test-handler-1.0.2-3","flaky-test-handler-1.0.2-4","flaky-test-handler-1.0.3","flaky-test-handler-1.0.4","flaky-test-handler-1.1.0","flaky-test-handler-1.2.0","flaky-test-handler-1.2.1","flaky-test-handler-1.2.2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-40342.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}