{"id":"CVE-2023-40342","published":"2023-08-16T14:32:53Z","modified":"2024-10-08T18:31:29Z","title":"Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the…","vendor":"Jenkins","product":"Jenkins Flaky Test Handler Plugin","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00602,"percentile":0.49738,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/08/16/3","tags":[]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":9.95}]},"vendorSlug":"jenkins","affectedVersions":[{"vendor":"Jenkins Project","product":"Jenkins Flaky Test Handler Plugin","versions":["<= 1.2.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-08T18:31:18.717842Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:flaky-test-handler","vulnerableRanges":["<1.2.3"],"patched":["1.2.3"],"from":["GHSA-hv48-hgp6-xpqf"],"provenance":"source"}],"summary":{"text":"The Jenkins Flaky Test Handler Plugin, version 1.2.2 and earlier, fails to escape JUnit test contents when rendering them in the Jenkins UI. An attacker who can control the contents of JUnit report files can exploit this to store cross-site scripting (XSS) payloads that execute in the browsers of users who view those results.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:24Z"},"euvd":{"id":"EUVD-2023-2305","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-2237","published":"2020-08-12","fixed":"1.1.0","kev":false},{"cve":"CVE-2022-28140","published":"2022-03-29","fixed":"1.2.2","kev":false,"link":{"from":"CVE-2022-28140","to":"CVE-2023-40342","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jenkins-ci.plugins:flaky-test-handler","fromFixed":"1.2.2","toFixed":"1.2.3","daysApart":505},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same product + description similarity"}]}},{"cve":"CVE-2023-40342","published":"2023-08-16","fixed":"1.2.3","kev":false}],"package":"Maven:org.jenkins-ci.plugins:flaky-test-handler"}}